14 lines
350 B
Nix
14 lines
350 B
Nix
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 ])
|
|
);
|
|
}
|
|
|