diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-07-11 14:40:29 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-07-11 14:40:29 +0200 |
commit | ed09d0c0a436a412893ffe817c842827abbec6ed (patch) | |
tree | 9df7179545f5fe1b3b201630adbc2f674abb0cb7 /scripts | |
parent | 656390062a9b612df3238f9e6a0d5ce89c3de21c (diff) |
nix-build --run-env: Always use Bash
Fixes #113.
Fixes #131.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/nix-build.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-build.in b/scripts/nix-build.in index 4ceec4df6..fb70331bf 100755 --- a/scripts/nix-build.in +++ b/scripts/nix-build.in @@ -186,7 +186,7 @@ foreach my $expr (@exprs) { 'set +e; ' . 'PS1="\n\[\033[1;32m\][nix-build:\w]$\[\033[0m\] "; ' . $envCommand); - exec($ENV{SHELL}, "--rcfile", $rcfile); + exec($ENV{NIX_BUILD_SHELL} // "bash", "--rcfile", $rcfile); die; } |