From 5016af9c6d13dcde96b0957ffa19826ca7e493d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Sat, 10 May 2025 22:01:20 +0200 Subject: [PATCH] vanadium: move haskell tools to environment --- nix/environments/haskell.nix | 22 ++++++++++++++++++++++ shell.nix | 13 ------------- 2 files changed, 22 insertions(+), 13 deletions(-) create mode 100644 nix/environments/haskell.nix 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 #