Closed
Description
Describe the bug
Symptoms are equal to #49: after selecting the environment, the status remains "Applying environment..." forever.
To Reproduce
Steps to reproduce the behavior:
- Install nix-env-selector 1.0.7
- Apply environment:
It's a fairly standard haskell.nix setup. Let me know if you need to see the rest of my nix files as well! I have the same problem with my work machine, with a similar haskell.nix setup.
{ pkgs ? import ./haskell.nix , hsPkgs ? import ./default.nix {} }: let terraform = pkgs.terraform_0_14.withPlugins(p: [ p.aws ]); in hsPkgs.shellFor { # Include only the *local* packages of your project. packages = ps: with ps; [ shiba ]; # Builds a Hoogle documentation index of all dependencies, # and provides a "hoogle" command to search the index. withHoogle = true; # You might want some extra tools in the shell (optional). # Some common tools can be added with the `tools` argument tools = { cabal = "3.2.0.0"; hlint = "2.2.11"; stylish-haskell = "0.12.2.0"; }; # See overlays/tools.nix for more details # Some you may need to get some other way. buildInputs = with hsPkgs.haskellPackages; [ terraform pkgs.awscli ]; # Prevents cabal from choosing alternate plans, so that # *all* dependencies are provided by Nix. exactDeps = true; }
Expected behavior
I'd expect this plugin to do as advertised and load my nix environment.
Environment:
- OS: Fedora 34 / Mac OS Big Sur
- VS Code 1.55.2
- Version 1.0.7