postgresqlPackages: use lib.extendMkDerivation in postgresqlBuildExtension
This commit is contained in:
@@ -63,10 +63,14 @@
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
args:
|
||||
lib.extendMkDerivation {
|
||||
constructDrv = stdenv.mkDerivation;
|
||||
|
||||
let
|
||||
postgresqlBuildExtension =
|
||||
excludeDrvArgNames = [
|
||||
"enableUpdateScript"
|
||||
];
|
||||
|
||||
extendDrvArgs =
|
||||
finalAttrs:
|
||||
{
|
||||
enableUpdateScript ? true,
|
||||
@@ -145,5 +149,4 @@ let
|
||||
''
|
||||
+ prevAttrs.postInstall or "";
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation (lib.extends postgresqlBuildExtension (lib.toFunction args))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user