|
|
|
@ -1,5 +1,5 @@ |
|
|
|
|
let sources = import ./nix/sources.nix; |
|
|
|
|
in { compiler ? "ghc883", pkgs ? import sources.nixpkgs { } }: |
|
|
|
|
in { compiler ? "ghc8107", pkgs ? import sources.nixpkgs { } }: |
|
|
|
|
|
|
|
|
|
let |
|
|
|
|
inherit (pkgs.lib.trivial) flip pipe; |
|
|
|
@ -24,14 +24,12 @@ in { |
|
|
|
|
|
|
|
|
|
shell = haskellPackages.shellFor { |
|
|
|
|
packages = p: with p; [ project ]; |
|
|
|
|
#buildInputs = with haskellPackages; [ |
|
|
|
|
# ghcid |
|
|
|
|
# hlint # or ormolu |
|
|
|
|
# niv |
|
|
|
|
# pkgs.cacert # needed for niv |
|
|
|
|
# pkgs.nix # needed for niv |
|
|
|
|
# zlib |
|
|
|
|
#]; |
|
|
|
|
buildInputs = with haskellPackages; [ |
|
|
|
|
ghcid |
|
|
|
|
hlint # or ormolu |
|
|
|
|
pkgs.niv |
|
|
|
|
zlib |
|
|
|
|
]; |
|
|
|
|
withHoogle = true; |
|
|
|
|
}; |
|
|
|
|
} |
|
|
|
|