From 6eb689d4901e6a0ee52c3ea0927f81da0df91d68 Mon Sep 17 00:00:00 2001 From: Dmitry Bogatov Date: Fri, 17 Jun 2022 20:23:35 -0400 Subject: [PATCH] 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. --- pkgs/build-support/cc-wrapper/cc-wrapper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/cc-wrapper/cc-wrapper.sh b/pkgs/build-support/cc-wrapper/cc-wrapper.sh index 651519490aa..83b6817798f 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