wrapGAppsHook4: fix gtk4 for the wrong system

gtk3(gtk4) is in depsTargetTargetPropagated while without splicing this
gtk3(gtk4) will be for hostTarget
and when wrapGAppsHook4 is in nativeBuildInputs
packages in depsTargetTargetPropagated will be treated like buildInputs

fixes pkgsCross.aarch64-multiplatform.gnome.zenity
This commit is contained in:
Artturin 2023-07-11 00:16:15 +03:00
parent ae55861ec2
commit 0b96527d9a

View File

@ -1295,7 +1295,7 @@ with pkgs;
makeWrapper = makeBinaryWrapper;
};
wrapGAppsHook4 = wrapGAppsHook.override { gtk3 = gtk4; };
wrapGAppsHook4 = wrapGAppsHook.override { gtk3 = __splicedPackages.gtk4; };
wrapGAppsNoGuiHook = wrapGAppsHook.override { isGraphical = false; };