mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
nixos: Use checks instead of extraDependencies
... as appropriate. This drops a few unnecessary store paths from the system closure.
This commit is contained in:
parent
5bdf63819b
commit
2e2f0d28ea
4 changed files with 4 additions and 4 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue