mirror of
https://github.com/SuperSandro2000/nixos-modules.git
synced 2024-06-13 11:35:47 +02:00
postgres: fix eval
This commit is contained in:
parent
14116a9f6c
commit
5199926fed
|
@ -32,7 +32,7 @@ in
|
|||
};
|
||||
|
||||
config = {
|
||||
environment.systemPackages = lib.optional (cfg.newPackage != config.services.postgresql.package) [(
|
||||
environment.systemPackages = lib.optional (cfg.newPackage != config.services.postgresql.package) (
|
||||
let
|
||||
newData = "/var/lib/postgresql/${cfg.newPackage.psqlSchema}";
|
||||
newBin = "${cfg.newPackage}/bin";
|
||||
|
@ -61,6 +61,6 @@ in
|
|||
${lib.concatStringsSep " " cfg.extraArgs} \
|
||||
"$@"
|
||||
''
|
||||
)];
|
||||
);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user