summary refs log tree commit diff
path: root/pkgs/build-support/cc-wrapper/setup-hook.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/build-support/cc-wrapper/setup-hook.sh')
-rw-r--r--pkgs/build-support/cc-wrapper/setup-hook.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/build-support/cc-wrapper/setup-hook.sh b/pkgs/build-support/cc-wrapper/setup-hook.sh
index d8fb88b41d18..f4f7ab181d3e 100644
--- a/pkgs/build-support/cc-wrapper/setup-hook.sh
+++ b/pkgs/build-support/cc-wrapper/setup-hook.sh
@@ -23,19 +23,19 @@ envHooks+=(addCVars)
 # Note: these come *after* $out in the PATH (see setup.sh).
 
 if [ -n "@cc@" ]; then
-    addToSearchPath PATH @cc@/bin
+    addToSearchPath _PATH @cc@/bin
 fi
 
 if [ -n "@binutils_bin@" ]; then
-    addToSearchPath PATH @binutils_bin@/bin
+    addToSearchPath _PATH @binutils_bin@/bin
 fi
 
 if [ -n "@libc_bin@" ]; then
-    addToSearchPath PATH @libc_bin@/bin
+    addToSearchPath _PATH @libc_bin@/bin
 fi
 
 if [ -n "@coreutils_bin@" ]; then
-    addToSearchPath PATH @coreutils_bin@/bin
+    addToSearchPath _PATH @coreutils_bin@/bin
 fi
 
 if [ -z "$crossConfig" ]; then