arrterian / nix-env-selector

Allows switch environment for Visual Studio Code using Nix Package Manager.
MIT License
220 stars 29 forks source link

[Feature]: numtide/devshell integration #43

Closed blaggacao closed 3 years ago

blaggacao commented 3 years ago

A tight integration with numtide/devshell (which seems to grow soonish out of alpha) would be very helpful.

/cc @zimbatm (fyi)

arrterian commented 3 years ago

I briefly grabbed the devshell docs. Seems it's already possible to use devshell with this extension, such as a final command to apply an environment still nix-shell. What would you want to see in nix-env-selector to make integration simpler?

zimbatm commented 3 years ago

Agreed, as long as the user connects devshell with the shell.nix file the plugin should work out of the box.

arrterian commented 3 years ago

I plan to create a documentation site for the extension approach. We can describe this one use case there. It will very helpful if you will share your experience here #46