summary refs log tree commit diff
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)
downloadnixpkgs-2e2f0d28ea8e3873f57aec6ed517dab8f6494c11.tar
nixpkgs-2e2f0d28ea8e3873f57aec6ed517dab8f6494c11.tar.gz
nixpkgs-2e2f0d28ea8e3873f57aec6ed517dab8f6494c11.tar.bz2
nixpkgs-2e2f0d28ea8e3873f57aec6ed517dab8f6494c11.tar.lz
nixpkgs-2e2f0d28ea8e3873f57aec6ed517dab8f6494c11.tar.xz
nixpkgs-2e2f0d28ea8e3873f57aec6ed517dab8f6494c11.tar.zst
nixpkgs-2e2f0d28ea8e3873f57aec6ed517dab8f6494c11.zip
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 3d55995aba0..a7016bbee3a 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";