diff options
-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; } |