Unverified Commit 74ba8861 authored by superherointj's avatar superherointj Committed by GitHub
Browse files

Merge pull request #216554 from superherointj/fix-pkgsMusl.wxwidgets

pkgsMusl.wxwidgets: fix build
parents 07ce7b2f 4b1018ba
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -62,16 +62,6 @@ stdenv.mkDerivation rec {
    hash = "sha256-u+INjo9EkW433OYoCDZpw5pcW1DyF/t/J5ntLZX+6aA=";
  };

  # Workaround for pkgsMusl.wxGTK32 failing as:
  #   "./src/unix/uilocale.cpp:650:37: error: ‘_NL_IDENTIFICATION_TERRITORY’ was not declared in this scope"
  # On upgrade, please test building wxwidgets for pkgsMusl, and remove this patch if unnecessary.
  patches = lib.optional stdenv.hostPlatform.isMusl [
    (fetchpatch {
      url = "https://github.com/wxWidgets/wxWidgets/commit/1faf1796b23b2503296d9b1e9ad39047d633f8c9.patch";
      sha256 = "sha256-0FbfzGzzkriLD2iDcRcBXgYqjHtxFsmSlhGE5d18/bo=";
    })
  ];

  nativeBuildInputs = [ pkg-config ];

  buildInputs = [