Add a command to call 'nix-shell' and then update the editor's environment as if it was inside the new shell.
It's sometimes useful to fire up a nix-shell just to download a package for using it once. It's annoying however when it's a library or any other dependency of ':make', which can't be called from inside the shell.
Example:
:NixShell -p hello
:term hello
There's no rollback command but it could be written if it's ever needed. Calling the commande several times will nest environments the same way as opening a shell inside a shell.
Add a command to call 'nix-shell' and then update the editor's environment as if it was inside the new shell.
It's sometimes useful to fire up a nix-shell just to download a package for using it once. It's annoying however when it's a library or any other dependency of ':make', which can't be called from inside the shell.
Example:
There's no rollback command but it could be written if it's ever needed. Calling the commande several times will nest environments the same way as opening a shell inside a shell.