12 lines
234 B
Nix
12 lines
234 B
Nix
{ ghc, nixpkgs ? (import <nixpkgs> {}) }:
|
|
|
|
let
|
|
inherit (nixpkgs) haskell pkgs;
|
|
in haskell.lib.buildStackProject {
|
|
inherit ghc;
|
|
name = "stackenv";
|
|
buildInputs = with pkgs;
|
|
[ postgresql zlib openldap cyrus_sasl.dev
|
|
];
|
|
}
|