mirror of
https://github.com/SuperSandro2000/nixos-modules.git
synced 2024-05-29 12:30:48 +02:00
postgres: fix postgres jit detection
This commit is contained in:
parent
342b9846c0
commit
f73f6d44dd
|
@ -42,7 +42,7 @@ in
|
|||
newData = "/var/lib/postgresql/${cfgu.newPackage.psqlSchema}";
|
||||
newBin = "${if cfg.extraPlugins == [] then cfgu.newPackage else cfgu.newPackage.withPackages cfg.extraPlugins}/bin";
|
||||
|
||||
oldPackage = if cfg.enableJIT && !cfg.package.jitSupport then cfg.package.withJIT else cfg.package;
|
||||
oldPackage = if cfg.enableJIT then cfg.package.withJIT else cfg.package;
|
||||
oldData = config.services.postgresql.dataDir;
|
||||
oldBin = "${if cfg.extraPlugins == [] then oldPackage else oldPackage.withPackages cfg.extraPlugins}/bin";
|
||||
in
|
||||
|
|
Loading…
Reference in New Issue
Block a user