-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Description
#355 (comment) mentions that you can use $NIX_BUILD_SHELL to specify the shell being used.
This does not work for zsh (and probably any non-bash shell) however:
% NIX_BUILD_SHELL=zsh nix-shell '<nixpkgs>' -A hello
zsh: no such option: rcfile
$ENV{BASH_ENV} = $rcfile;
my @args = ($ENV{NIX_BUILD_SHELL} // "bash");
push @args, "--rcfile" if $interactive;
In #113 / ed09d0c, it was changed to use "bash" instead of $SHELL (by default).
Is it possible and worthwhile to add support for non-Bash shells?
This would also include patches to scripts like https://github.com/NixOS/nix/blob/master/dev-shell then probably.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels