nix(refactor): Split cabalTools from devtools

This allows to use `postgrest-build` in CI without pulling in a lot of dependencies.
This commit is contained in:
Wolfgang Walther
2021-04-24 15:07:13 +02:00
committed by Wolfgang Walther
parent 249d4117e0
commit e5350d2d50
6 changed files with 69 additions and 49 deletions
+7 -4
View File
@@ -113,9 +113,12 @@ rec {
### Tools
cabalTools =
pkgs.callPackage nix/tools/cabalTools.nix { inherit devCabalOptions postgrest; };
# Development tools.
devtools =
pkgs.callPackage nix/tools/devtools.nix { inherit tests style devCabalOptions hsie; };
devTools =
pkgs.callPackage nix/tools/devTools.nix { inherit tests style devCabalOptions hsie; };
# Docker images and loading script.
docker =
@@ -127,7 +130,7 @@ rec {
# Utility for updating the pinned version of Nixpkgs.
nixpkgsTools =
pkgs.callPackage nix/tools/nixpkgstools.nix { };
pkgs.callPackage nix/tools/nixpkgsTools.nix { };
# Scripts for publishing new releases.
release =
@@ -149,5 +152,5 @@ rec {
};
withTools =
pkgs.callPackage nix/tools/withtools.nix { inherit postgresqlVersions; };
pkgs.callPackage nix/tools/withTools.nix { inherit postgresqlVersions; };
}