about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2014-06-14 10:59:35 +0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-30 16:44:28 +0200
commit0769fc5b77eb76c6a794187f173c48f912fc837c (patch)
tree72867e97f5efa34e3ddc75e86fc9a364326944f0 /pkgs
parent8a10d8bbc33a331f15f41d54aca031fc7b7c9f67 (diff)
downloadnixlib-0769fc5b77eb76c6a794187f173c48f912fc837c.tar
nixlib-0769fc5b77eb76c6a794187f173c48f912fc837c.tar.gz
nixlib-0769fc5b77eb76c6a794187f173c48f912fc837c.tar.bz2
nixlib-0769fc5b77eb76c6a794187f173c48f912fc837c.tar.lz
nixlib-0769fc5b77eb76c6a794187f173c48f912fc837c.tar.xz
nixlib-0769fc5b77eb76c6a794187f173c48f912fc837c.tar.zst
nixlib-0769fc5b77eb76c6a794187f173c48f912fc837c.zip
Set CONFIG_SHELL to stdenv.shell in the default builder, just like SHELL
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/stdenv/generic/setup.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/stdenv/generic/setup.sh b/pkgs/stdenv/generic/setup.sh
index 4f78713a5494..c3b9033b49a6 100644
--- a/pkgs/stdenv/generic/setup.sh
+++ b/pkgs/stdenv/generic/setup.sh
@@ -103,6 +103,7 @@ fi
 
 # Execute the pre-hook.
 export SHELL=@shell@
+export CONFIG_SHELL="$SHELL"
 if [ -z "$shell" ]; then export shell=@shell@; fi
 runHook preHook