From ed09d0c0a436a412893ffe817c842827abbec6ed Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 11 Jul 2013 14:40:29 +0200 Subject: [PATCH] nix-build --run-env: Always use Bash Fixes #113. Fixes #131. --- scripts/nix-build.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }