diff --git a/nix/environments/haskell.nix b/nix/environments/haskell.nix new file mode 100644 index 00000000..c92ca7e0 --- /dev/null +++ b/nix/environments/haskell.nix @@ -0,0 +1,22 @@ +{ + buildEnv, + # + pkgs, +}: +buildEnv { + name = "haskell"; + paths = with pkgs; [ + # + # XMonad + # + (haskellPackages.ghcWithPackages (self: [ + # https://github.com/ValveSoftware/steam-for-linux/issues/9376 + # opt into 0.18.1 specifically + self.xmonad-contrib_0_18_1 + + self.xmonad-extras + ])) + haskell-language-server + cabal-install + ]; +} diff --git a/shell.nix b/shell.nix index ccfe367c..823840e2 100644 --- a/shell.nix +++ b/shell.nix @@ -17,19 +17,6 @@ pkgs.mkShell { just jq - # - # XMonad - # - (haskellPackages.ghcWithPackages (self: [ - # https://github.com/ValveSoftware/steam-for-linux/issues/9376 - # opt into 0.18.1 specifically - self.xmonad-contrib_0_18_1 - - self.xmonad-extras - ])) - haskell-language-server - cabal-install - # # Installer testing #