fix tests
This commit is contained in:
parent
1832c743da
commit
d708bb41a6
2 changed files with 4 additions and 2 deletions
|
@ -138,7 +138,7 @@ in
|
|||
(lib.mkIf cfg.enableTCPIP tcpConfig)
|
||||
(debugConfig cfg.debug)
|
||||
{
|
||||
environment.systemPackages = [
|
||||
environment.systemPackages = lib.mkIf config.services.postgresql.enable [
|
||||
(upgrade-script 13 14)
|
||||
(upgrade-script 14 15)
|
||||
(upgrade-script 15 16)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, ... }:
|
||||
{ lib, pkgs, ... }:
|
||||
let
|
||||
anyOpt = default: lib.mkOption {
|
||||
type = lib.types.anything;
|
||||
|
@ -8,11 +8,13 @@ let
|
|||
testConfig = m:
|
||||
let
|
||||
cfg = (lib.evalModules {
|
||||
specialArgs = { inherit pkgs; };
|
||||
modules = [
|
||||
{
|
||||
options = {
|
||||
services = anyOpt {};
|
||||
systemd = anyOpt {};
|
||||
environment = anyOpt {};
|
||||
};
|
||||
}
|
||||
../../modules/blocks/postgresql.nix
|
||||
|
|
Loading…
Add table
Reference in a new issue