News for hackers. Stuff that matters.
Re:The many issues plaguing Nix by rgoulter on Friday August 11, 2023 @11:28PM (#37096731)
> Years ago it was a lack of any support for shells other than bash and zsh. I've been using fish for over a decade.

It used to be that running `nix-shell --package` would drop you into bash. With the newer nix command equivalent, `nix shell` retains the same SHELL.

When writing Nix packages, practically the only supported shell is bash. But, that's less of an issue, since it doesn't affect what interactive shell you use.

Re:The many issues plaguing Nix by happens on Saturday August 12, 2023 @08:21AM (#37099455)
Really? `nix develop` still drops me into a bash shell, even though I pretty much always want to use zsh. Is there an option I have to enable somewhere?
Re:The many issues plaguing Nix by rgoulter on Saturday August 12, 2023 @08:26AM (#37099485)
`nix develop` is for entering an environment to build the packages, and packages are built with bash.

For "I use fish shell, and I want to load the shell.nix", it's more convenient to use direnv (which uses `nix print-dev-env`). https://github.com/direnv/direnv/wiki/nix

Another option is to use `nix develop --command fish`.