-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nix-build: support for non-bash shells with nix-build / nix-shell #498
Comments
Yes, please. |
Meanwhile, I think you can do it like this:
|
Would be nice to allow |
I have made a pull request for this: #545 |
If you just want a zsh inside a nix shell, this should work find: |
@jasom Your suggestion doesn't work for development sandbox types of purposes. For instance, if I run |
nevermind, posted to the wrong issue - see NixOS/nixpkgs#29960 |
|
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/nix-shell-does-not-use-my-users-shell-zsh/5588/6 |
I marked this as stale due to inactivity. → More info |
I closed this issue due to inactivity. → More info |
Can this be re-opened? It's still an issue. |
#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:
Source:
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.
The text was updated successfully, but these errors were encountered: