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-shell requires user to manually specify runtime dependency #355
Comments
|
Hm. Okay. So this is more an issue with nixos not ensuring bashInteractive is installed when bash isn't the default shell? |
Yeah, I think so. |
I have opened a new ticket on the nixpkgs repo here and I am closing this one. |
When using zsh as the default shell, nix-shell seems to have issues with the prompt and handling normal arrow key functionality. I believe the cause of this is that nix-shell doesn't automatically pull in pkgs.bashInteractive (which has readline builtin), but uses pkgs.bash instead. I fixed this on my machine by making sure bashInteractive was installed in my environment.systemPackages. It would be nice if nix-shell pulled this in automatically.
The text was updated successfully, but these errors were encountered: