postgresql_*: set strictDeps for withPackages/JIT

Context: https://github.com/NixOS/nixpkgs/pull/531301#issuecomment-4752253522
This commit is contained in:
Michael Daniels
2026-06-19 17:21:51 -04:00
parent 91231b5924
commit f9fa41bfe9
+11 -8
View File
@@ -679,14 +679,17 @@ let
"/share/postgresql/tsearch_data"
];
nativeBuildInputs = [ makeBinaryWrapper ];
postBuild =
let
args = lib.concatMap (ext: ext.wrapperArgs or [ ]) installedExtensions;
in
''
wrapProgram "$out/bin/postgres" ${lib.concatStringsSep " " args}
'';
derivationArgs = {
strictDeps = true;
nativeBuildInputs = [ makeBinaryWrapper ];
postBuild =
let
args = lib.concatMap (ext: ext.wrapperArgs or [ ]) installedExtensions;
in
''
wrapProgram "$out/bin/postgres" ${lib.concatStringsSep " " args}
'';
};
passthru = {
inherit installedExtensions;