nix: move withtmpdb to separate file

Co-authored-by: Remo Rechkemmer <59358383+monacoremo@users.noreply.github.com>
This commit is contained in:
Wolfgang Walther
2021-04-12 19:03:16 +02:00
committed by Wolfgang Walther
co-authored by Remo Rechkemmer
parent f99fd6cbad
commit 579a626de2
3 changed files with 25 additions and 21 deletions
+4 -1
View File
@@ -112,10 +112,13 @@ rec {
nixpkgsUpgrade =
pkgs.callPackage nix/nixpkgs-upgrade.nix { };
withTmpDb =
pkgs.callPackage nix/withtmpdb.nix { };
# Scripts for running tests.
tests =
pkgs.callPackage nix/tests.nix {
inherit postgrest postgrestProfiled postgresqlVersions devCabalOptions;
inherit postgrest postgrestProfiled postgresqlVersions devCabalOptions withTmpDb;
ghc = pkgs.haskell.compiler."${compiler}";
hpc-codecov = pkgs.haskell.packages."${compiler}".hpc-codecov;
};