summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services/databases
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2023-05-11 18:42:17 +0200
committerRobert Hensing <robert@roberthensing.nl>2023-05-11 21:18:38 +0200
commit2e2f0d28ea8e3873f57aec6ed517dab8f6494c11 (patch)
tree86e910a87f40caec146ddf3fcbc968f395020e15 /nixos/modules/services/databases
parent5bdf63819b383c47aad629ec3fe404b77a6b58a3 (diff)
nixos: Use checks instead of extraDependencies
... as appropriate. This drops a few unnecessary store paths from the system closure.
Diffstat (limited to 'nixos/modules/services/databases')
-rw-r--r--nixos/modules/services/databases/postgresql.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/databases/postgresql.nix b/nixos/modules/services/databases/postgresql.nix
index 3d55995aba05..a7016bbee3a8 100644
--- a/nixos/modules/services/databases/postgresql.nix
+++ b/nixos/modules/services/databases/postgresql.nix
@@ -489,7 +489,7 @@ in
"/share/postgresql"
];
- system.extraDependencies = lib.optional (cfg.checkConfig && pkgs.stdenv.hostPlatform == pkgs.stdenv.buildPlatform) configFileCheck;
+ system.checks = lib.optional (cfg.checkConfig && pkgs.stdenv.hostPlatform == pkgs.stdenv.buildPlatform) configFileCheck;
systemd.services.postgresql =
{ description = "PostgreSQL Server";