diff --git a/pkgs/build-support/cc-wrapper/default.nix b/pkgs/build-support/cc-wrapper/default.nix index 83326777326d..3a155b26319d 100644 --- a/pkgs/build-support/cc-wrapper/default.nix +++ b/pkgs/build-support/cc-wrapper/default.nix @@ -81,6 +81,8 @@ let fi done EOF + + sed -i $out -e 's_envHooks_crossEnvHooks_g' '' + '' # NIX_ things which we don't both use and define, we revert them