enable HIE only in the shell environment, but not by default

This commit is contained in:
Trolli Schmittlauch 2020-07-26 16:38:56 +02:00
parent 473ccb631d
commit 6349e05033
2 changed files with 5 additions and 4 deletions

View file

@ -1,5 +1,6 @@
{ {
compiler ? "ghc865" compiler ? "ghc865",
withHIE ? false
}: }:
let let
@ -37,7 +38,7 @@ in
hlint hlint
stylish-haskell stylish-haskell
pkgs.python3Packages.asn1ate pkgs.python3Packages.asn1ate
hie ]
]; ++ (if withHIE then [ hie ] else []);
}; };
} }

View file

@ -1 +1 @@
(import ./default.nix {}).shell (import ./default.nix {withHIE = true;}).shell