git.iko.soy/typeable/nixpkgs
on master help sign in
waf: only add crossFlags when hostPlatform.system == targetPlatform

waf fails otherwise in some weird CHECK_UNAME things Fixes #62540

commit6c9977f753698f23e505441038d0077420bc2757 authorMatthew Bauer <mjbauer95@gmail.com> dateMon 3 Jun 2019, 12:23 (7 years ago) parent9f7bb1f
1 file changed+1−1
pkgs/top-level/all-packages.nix+1−1
pkgs/top-level/all-packages.nix+1−1
@@ -6716,7 +6716,7 @@ in
67166716 deps = [ python ];
67176717 substitutions = {
67186718 inherit waf;
6719− crossFlags = lib.optionalString (stdenv.hostPlatform != stdenv.targetPlatform)
6719+ crossFlags = lib.optionalString (stdenv.hostPlatform.system != stdenv.targetPlatform.system)
67206720 ''--cross-compile "--cross-execute=${stdenv.targetPlatform.emulator pkgs}"'';
67216721 };
67226722 } ../development/tools/build-managers/waf/setup-hook.sh;