on 11bcbbb help sign in
rel8/default.nix
29 lines 539 B history raw
1let
2 haskellNix = import (import ./nix/sources.nix)."haskell.nix" {};
4 nixpkgsSrc = haskellNix.sources.nixpkgs-2009;
6 nixpkgsArgs = haskellNix.nixpkgsArgs;
8 compiler-nix-name = "ghc8103";
10 pkgs = import nixpkgsSrc nixpkgsArgs;
12in
13pkgs.haskell-nix.project {
14 inherit compiler-nix-name;
16 src = pkgs.haskell-nix.haskellLib.cleanGit {
17 name = "rel8";
18 src = ./.;
19 };
21 modules = [
22 { packages.rel8 = {
23 preCheck = ''
24 export PATH="${pkgs.postgresql}/bin:${"$PATH"}"
25 '';
26 };
27 }
28 ];