This commit is contained in:
Ollie Charles 2021-03-02 14:29:24 +00:00
parent dd9bfccfdb
commit 9ccae597b9
2 changed files with 12 additions and 3 deletions

View File

@ -17,4 +17,13 @@ pkgs.haskell-nix.project {
name = "rel8";
src = ./.;
};
modules = [
{ packages.rel8 = {
preCheck = ''
export PATH="${pkgs.postgresql}/bin:${"$PATH"}"
'';
};
}
];
}

View File

@ -1,5 +1,5 @@
let project = import ./.;
let rel8 = (import ./.).hsPkgs.rel8;
in {
rel8 = project.hsPkgs.components.library;
tests = project.hsPkgs.components.checks.tests;
rel8 = rel8.components.library;
tests = rel8.checks.tests;
}