NobbZ:
Either use (nix-)direnv to remain in your shell or use nix develop -c $SHELL.
Not working for me, still starts bash.
NobbZ:
Either use (nix-)direnv to remain in your shell or use nix develop -c $SHELL.
Not working for me, still starts bash.
Then bash is configured as your login shell. And direnv, assuming configured correctly, should just “nest” in your current shell, regardless of the system/login shell.
Also please have a look at the edit I made to the original post for an alternative to direnv, direnv is great but I wrote ns to replace all of my nix shell commands and have been using that for some time now. Perhaps it could help some users, and I"m happy to address any issues, should someone run into one.