wrapGAppsNoGuiHook: fix cross usage

Before it would fail like:

networkd-dispatcher> Running phase: gappsWrapperArgsHook
networkd-dispatcher> Running phase: fixupPhase
networkd-dispatcher> Wrapping program '/nix/store/gl6mh6rxwdf2jahn285asqd2nf13c3sm-networkd-dispatcher-aarch64-unknown-linux-gnu-2.2.4/bin/networkd-dispatcher'
networkd-dispatcher> /nix/store/6b7dnfcjbdmhw33j0pzhvz3599vdigbx-gcc-wrapper-14.3.0/bin/cc: line 273: /nix/store/l5dgbva6qgv631d22p08in1my589ssmp-gcc-14.3.0-aarch64-unknown-linux-gnu/bin/gcc: cannot execute binary file: Exec format error
networkd-dispatcher> /nix/store/5wbhq6vqdjl2n1pzzw2q3lhgmm8v5d98-make-binary-wrapper-hook/nix-support/setup-hook: line 84: printf: Broken pipe
networkd-dispatcher> /nix/store/5wbhq6vqdjl2n1pzzw2q3lhgmm8v5d98-make-binary-wrapper-hook/nix-support/setup-hook: line 84: printf: write error: Broken pipe
This commit is contained in:
Sandro Jäckel
2025-12-18 14:15:18 +01:00
parent abcecff5e8
commit 08b7d845bb
+1 -1
View File
@@ -918,7 +918,7 @@ with pkgs;
};
wrapGAppsNoGuiHook = callPackage ../build-support/setup-hooks/wrap-gapps-hook {
makeWrapper = makeBinaryWrapper;
makeWrapper = buildPackages.makeBinaryWrapper;
};
separateDebugInfo = makeSetupHook {