nix(refactor): Move withPostgresqlVersions and withAllVersions to new withTools

This commit is contained in:
Wolfgang Walther
2021-04-18 13:51:39 +02:00
committed by Wolfgang Walther
parent dccce946e3
commit 32bac81d91
6 changed files with 97 additions and 95 deletions
+3 -3
View File
@@ -112,13 +112,13 @@ rec {
nixpkgsUpgrade =
pkgs.callPackage nix/nixpkgs-upgrade.nix { };
withTmpDb =
pkgs.callPackage nix/withtmpdb.nix { };
withTools =
pkgs.callPackage nix/withtools.nix { inherit postgresqlVersions; };
# Scripts for running tests.
tests =
pkgs.callPackage nix/tests.nix {
inherit postgrest postgrestProfiled postgresqlVersions devCabalOptions withTmpDb;
inherit postgrest postgrestProfiled devCabalOptions withTools;
ghc = pkgs.haskell.compiler."${compiler}";
hpc-codecov = pkgs.haskell.packages."${compiler}".hpc-codecov;
};