fradrive/stack.nix
2017-10-02 20:17:33 +02:00

12 lines
210 B
Nix

{ ghc, nixpkgs ? (import <nixpkgs> {}) }:
let
inherit (nixpkgs) haskell pkgs;
in haskell.lib.buildStackProject {
inherit ghc;
name = "stackenv";
buildInputs = with pkgs;
[ postgresql zlib
];
}