pkgsMusl.wxGTK32: fix build
This commit is contained in:
parent
6c8644fc37
commit
93923837b5
@ -2,6 +2,7 @@
|
|||||||
, stdenv
|
, stdenv
|
||||||
, expat
|
, expat
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, gnome2
|
, gnome2
|
||||||
, gst_all_1
|
, gst_all_1
|
||||||
@ -61,6 +62,16 @@ stdenv.mkDerivation rec {
|
|||||||
hash = "sha256-k6td/8pF7ad7+gVm7L0jX79fHKwR7/qrOBpSFggyaI0=";
|
hash = "sha256-k6td/8pF7ad7+gVm7L0jX79fHKwR7/qrOBpSFggyaI0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# 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 ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
Loading…
Reference in New Issue
Block a user