Skip to content

Commit 21e35e0

Browse files
committed
nix shell
shell
1 parent 808407b commit 21e35e0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

flake.nix

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
chmod +x $dest
6161
'';
6262

63-
mkDevShell = hpkgs: with pkgs; mkShell {
63+
mkDevShell = hpkgs: with pkgs; pkgs.mkShell {
6464
name = "haskell-language-server-dev-ghc${hpkgs.ghc.version}";
6565
# For binary Haskell tools, we use the default Nixpkgs GHC version.
6666
# This removes a rebuild with a different GHC version. The drawback of
@@ -106,7 +106,9 @@
106106
in {
107107
# Developement shell with only dev tools
108108
devShells = {
109-
default = mkDevShell pkgs.haskellPackages;
109+
default = pkgs.mkShell {
110+
buildInputs = with pkgs; [zlib haskell.compiler.ghc910 cabal-install];
111+
};
110112
shell-ghc96 = mkDevShell pkgs.haskell.packages.ghc96;
111113
shell-ghc98 = mkDevShell pkgs.haskell.packages.ghc98;
112114
shell-ghc910 = mkDevShell pkgs.haskell.packages.ghc910;

0 commit comments

Comments
 (0)