fradrive/stack.nix
Gregor Kleen 67e3b38834 chore: bump versions
BREAKING CHANGE: yesod >=1.6
2019-09-25 13:46:10 +02:00

16 lines
387 B
Nix

{ ghc, nixpkgs ? import ./nixpkgs.nix {} }:
let
haskellPackages = import ./stackage.nix { inherit nixpkgs; };
inherit (nixpkgs {}) pkgs;
in pkgs.haskell.lib.buildStackProject {
inherit ghc;
inherit (haskellPackages) stack;
name = "stackenv";
buildInputs = (with pkgs;
[ postgresql zlib libsodium gmp
]) ++ (with haskellPackages;
[ yesod-bin happy alex
]);
}