nix(style): reorder tools in default.nix
This commit is contained in:
committed by
Wolfgang Walther
parent
ba47a54293
commit
249d4117e0
+30
-28
@@ -102,19 +102,43 @@ rec {
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
env =
|
||||||
|
postgrest.env;
|
||||||
|
|
||||||
|
# Tooling for analyzing Haskell imports and exports.
|
||||||
|
hsie =
|
||||||
|
pkgs.callPackage nix/hsie {
|
||||||
|
ghcWithPackages = pkgs.haskell.packages."${compiler}".ghcWithPackages;
|
||||||
|
};
|
||||||
|
|
||||||
|
### Tools
|
||||||
|
|
||||||
|
# Development tools.
|
||||||
|
devtools =
|
||||||
|
pkgs.callPackage nix/tools/devtools.nix { inherit tests style devCabalOptions hsie; };
|
||||||
|
|
||||||
# Docker images and loading script.
|
# Docker images and loading script.
|
||||||
docker =
|
docker =
|
||||||
pkgs.callPackage nix/tools/docker { postgrest = postgrestStatic; };
|
pkgs.callPackage nix/tools/docker { postgrest = postgrestStatic; };
|
||||||
|
|
||||||
env =
|
# Script for running memory tests.
|
||||||
postgrest.env;
|
memory =
|
||||||
|
pkgs.callPackage nix/tools/memory.nix { inherit postgrestProfiled withTools; };
|
||||||
|
|
||||||
# Utility for updating the pinned version of Nixpkgs.
|
# Utility for updating the pinned version of Nixpkgs.
|
||||||
nixpkgsTools =
|
nixpkgsTools =
|
||||||
pkgs.callPackage nix/tools/nixpkgstools.nix { };
|
pkgs.callPackage nix/tools/nixpkgstools.nix { };
|
||||||
|
|
||||||
withTools =
|
# Scripts for publishing new releases.
|
||||||
pkgs.callPackage nix/tools/withtools.nix { inherit postgresqlVersions; };
|
release =
|
||||||
|
pkgs.callPackage nix/tools/release {
|
||||||
|
inherit docker;
|
||||||
|
postgrest = postgrestStatic;
|
||||||
|
};
|
||||||
|
|
||||||
|
# Linting and styling tools.
|
||||||
|
style =
|
||||||
|
pkgs.callPackage nix/tools/style.nix { };
|
||||||
|
|
||||||
# Scripts for running tests.
|
# Scripts for running tests.
|
||||||
tests =
|
tests =
|
||||||
@@ -124,28 +148,6 @@ rec {
|
|||||||
hpc-codecov = pkgs.haskell.packages."${compiler}".hpc-codecov;
|
hpc-codecov = pkgs.haskell.packages."${compiler}".hpc-codecov;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Script for running memory tests.
|
withTools =
|
||||||
memory =
|
pkgs.callPackage nix/tools/withtools.nix { inherit postgresqlVersions; };
|
||||||
pkgs.callPackage nix/tools/memory.nix { inherit postgrestProfiled withTools; };
|
|
||||||
|
|
||||||
# Linting and styling tools.
|
|
||||||
style =
|
|
||||||
pkgs.callPackage nix/tools/style.nix { };
|
|
||||||
|
|
||||||
# Tooling for analyzing Haskell imports and exports.
|
|
||||||
hsie =
|
|
||||||
pkgs.callPackage nix/hsie {
|
|
||||||
ghcWithPackages = pkgs.haskell.packages."${compiler}".ghcWithPackages;
|
|
||||||
};
|
|
||||||
|
|
||||||
# Development tools.
|
|
||||||
devtools =
|
|
||||||
pkgs.callPackage nix/tools/devtools.nix { inherit tests style devCabalOptions hsie; };
|
|
||||||
|
|
||||||
# Scripts for publishing new releases.
|
|
||||||
release =
|
|
||||||
pkgs.callPackage nix/tools/release {
|
|
||||||
inherit docker;
|
|
||||||
postgrest = postgrestStatic;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user