Add shell.nix
This commit is contained in:
parent
42768d5aa0
commit
fe7c68777e
1 changed files with 14 additions and 0 deletions
14
shell.nix
Normal file
14
shell.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
let
|
||||
pkgs = import <nixpkgs> { }; # 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 ])
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue