summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/build-support/cc-wrapper/default.nix2
1 files changed, 2 insertions, 0 deletions
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