about summary refs log tree commit diff
path: root/pkgs/build-support/cc-wrapper
diff options
context:
space:
mode:
authorDmitry Bogatov <git#v1@kaction.cc>2022-06-17 20:23:35 -0400
committerDmitry Bogatov <git#v1@kaction.cc>2022-06-17 20:25:27 -0400
commit6eb689d4901e6a0ee52c3ea0927f81da0df91d68 (patch)
tree5402e1cc2d76e82149d9336c1f534bf9d5b5b48b /pkgs/build-support/cc-wrapper
parentca38c6111800fdd9d4f357febb1fa52160ece29b (diff)
cc-wrapper: fix typo in shell script
Noticed this bug when was trying to bootstrap m4 on darwin. That fixes

	line 163: no such file or directory error

That does not solve all problems staging has on darwin.
Diffstat (limited to 'pkgs/build-support/cc-wrapper')
-rw-r--r--pkgs/build-support/cc-wrapper/cc-wrapper.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/cc-wrapper/cc-wrapper.sh b/pkgs/build-support/cc-wrapper/cc-wrapper.sh
index 651519490aa4f..83b6817798f26 100644
--- a/pkgs/build-support/cc-wrapper/cc-wrapper.sh
+++ b/pkgs/build-support/cc-wrapper/cc-wrapper.sh
@@ -160,7 +160,7 @@ if [ "$dontLink" != 1 ]; then
 fi
 
 if [[ -e @out@/nix-support/add-local-cc-cflags-before.sh ]]; then
-    source @out@/nix-support/add-local-cflags-before.sh
+    source @out@/nix-support/add-local-cc-cflags-before.sh
 fi
 
 # As a very special hack, if the arguments are just `-v', then don't