Nix Environment Selector (🧪 Experimental Release)
The extension allows you switch environment for Visual Studio Code and extensions based on
Nix package manager provides a convenient solution for creating isolated environments with a specific configuration of packages. This way is working from the command line as well, but not prepared for using with IDE. For example, if you have a language server extension requires a compiler installed inside an isolated environment there is no simple way to link 'em with each other. The solution allows you to manage the environment for projects based on Visual Studio Code workspace.
Haskell Project running example
To run your Haskell application you have to install
Example of GHC compiler inside the NIX store(
Now let's try to open our project in Visual Studio Code.
You can see, IDE can't find a compiler. Let's turn on
Bingo 🎉🎉🎉. Everything is fine now 😈
All plugin configuration located in
The extension Should work on the Linux platform as well, but not tested yet. Feel free to create an issue if you found a problem.