git.iko.soy/typeable/nixpkgs
on master help sign in
cc-wrapper: Make the cross compiler use a crossEnvHook

This is a hack until stdenv's setup.hs gets overhauled

commit0aee847858631b2b5aaef54714b598ce78b31b20 authorJohn Ericson <Ericson2314@Yahoo.com> dateFri 2 Jun 2017, 13:31 (9 years ago) parentc1fb71b
1 file changed+2
pkgs/build-support/cc-wrapper/default.nix+2
pkgs/build-support/cc-wrapper/default.nix+2
@@ -81,6 +81,8 @@ let
8181 fi
8282 done
8383 EOF
84+
85+ sed -i $out -e 's_envHooks_crossEnvHooks_g'
8486 '' + ''
8587
8688 # NIX_ things which we don't both use and define, we revert them