mirror of
https://github.com/SuperSandro2000/nixos-modules.git
synced 2024-06-01 05:49:22 +02:00
postgres: include plugins in new package
This commit is contained in:
parent
efeb1e2973
commit
675d14e765
|
@ -36,7 +36,7 @@ in
|
|||
environment.systemPackages = lib.optional cfgu.enable (
|
||||
let
|
||||
newData = "/var/lib/postgresql/${cfgu.newPackage.psqlSchema}";
|
||||
newBin = "${cfgu.newPackage}/bin";
|
||||
newBin = "${if cfg.extraPlugins == [] then cfgu.newPackage else cfgu.newPackage.withPackages (_: with cfgu.newPackage.pkgs; cfg.extraPlugins)}/bin";
|
||||
oldData = config.services.postgresql.dataDir;
|
||||
oldBin = "${config.services.postgresql.package}/bin";
|
||||
currPkg = cfg.package;
|
||||
|
|
Loading…
Reference in New Issue
Block a user