diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..cc84b62 --- /dev/null +++ b/shell.nix @@ -0,0 +1,14 @@ +let + pkgs = import { }; # pin the channel to ensure reproducibility! +in +pkgs.haskellPackages.developPackage { + root = ./.; + withHoogle = true; + modifier = drv: + pkgs.haskell.lib.addBuildTools drv ( + (with pkgs; [ hlint haskell-language-server ghc ]) + ++ + (with pkgs.haskellPackages; [ cabal-install stylish-haskell ]) + ); +} +