mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 17:46:29 +09:00
mate.marco: fix cross build (#372778)
This commit is contained in:
commit
d076e3a638
1 changed files with 3 additions and 2 deletions
|
@ -34,11 +34,11 @@ stdenv.mkDerivation rec {
|
|||
pkg-config
|
||||
gettext
|
||||
itstool
|
||||
libxml2 # xmllint
|
||||
wrapGAppsHook3
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libxml2
|
||||
libcanberra-gtk3
|
||||
libgtop
|
||||
libXdamage
|
||||
|
@ -53,10 +53,11 @@ stdenv.mkDerivation rec {
|
|||
|
||||
postPatch = ''
|
||||
substituteInPlace src/core/util.c \
|
||||
--replace-fail 'argvl[i++] = "zenity"' 'argvl[i++] = "${zenity}/bin/zenity"'
|
||||
--replace-fail 'argvl[i++] = "zenity"' 'argvl[i++] = "${lib.getExe zenity}"'
|
||||
'';
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
||||
env.ZENITY = lib.getExe zenity;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue