summary refs log tree commit diff
path: root/pkgs/build-support/setup-hooks
diff options
context:
space:
mode:
authorTravis Athougies <travis@athougies.net>2018-11-11 09:55:55 -0800
committerTravis Athougies <travis@athougies.net>2018-11-11 10:25:05 -0800
commit9531a32b6074fe25728b7466831e9007870ac1eb (patch)
tree5ad2a0561250efcba67f9940b096ea2b21a33455 /pkgs/build-support/setup-hooks
parent1de9c8a023a4000e250e07f18d42b900c6db6cf8 (diff)
downloadnixpkgs-9531a32b6074fe25728b7466831e9007870ac1eb.tar
nixpkgs-9531a32b6074fe25728b7466831e9007870ac1eb.tar.gz
nixpkgs-9531a32b6074fe25728b7466831e9007870ac1eb.tar.bz2
nixpkgs-9531a32b6074fe25728b7466831e9007870ac1eb.tar.lz
nixpkgs-9531a32b6074fe25728b7466831e9007870ac1eb.tar.xz
nixpkgs-9531a32b6074fe25728b7466831e9007870ac1eb.tar.zst
nixpkgs-9531a32b6074fe25728b7466831e9007870ac1eb.zip
make-wrapper should use runtimeShell, not bash, for cross-compilation
Diffstat (limited to 'pkgs/build-support/setup-hooks')
-rw-r--r--pkgs/build-support/setup-hooks/make-wrapper.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/setup-hooks/make-wrapper.sh b/pkgs/build-support/setup-hooks/make-wrapper.sh
index 5d5ddcaa8d7..bc12be0fa36 100644
--- a/pkgs/build-support/setup-hooks/make-wrapper.sh
+++ b/pkgs/build-support/setup-hooks/make-wrapper.sh
@@ -40,7 +40,7 @@ makeWrapper() {
 
     mkdir -p "$(dirname "$wrapper")"
 
-    echo "#! $SHELL -e" > "$wrapper"
+    echo "#! @shell@ -e" > "$wrapper"
 
     params=("$@")
     for ((n = 2; n < ${#params[*]}; n += 1)); do