diff --git a/default.nix b/default.nix index 5bf5a15..4e77a05 100644 --- a/default.nix +++ b/default.nix @@ -1,5 +1,6 @@ { - compiler ? "ghc865" + compiler ? "ghc865", + withHIE ? false }: let @@ -37,7 +38,7 @@ in hlint stylish-haskell pkgs.python3Packages.asn1ate - hie - ]; + ] + ++ (if withHIE then [ hie ] else []); }; } diff --git a/shell.nix b/shell.nix index 82fb296..dafd212 100644 --- a/shell.nix +++ b/shell.nix @@ -1 +1 @@ -(import ./default.nix {}).shell +(import ./default.nix {withHIE = true;}).shell