diff --git a/pkgs/servers/sql/postgresql/wrapper.nix b/pkgs/servers/sql/postgresql/wrapper.nix index 2f81cc546588..c2a44ca46ce0 100644 --- a/pkgs/servers/sql/postgresql/wrapper.nix +++ b/pkgs/servers/sql/postgresql/wrapper.nix @@ -40,15 +40,16 @@ buildEnv (finalAttrs: { derivationArgs = { strictDeps = true; nativeBuildInputs = [ makeBinaryWrapper ]; - postBuild = - let - args = lib.concatMap (ext: ext.wrapperArgs or [ ]) installedExtensions; - in - '' - wrapProgram "$out/bin/postgres" ${lib.concatStringsSep " " args} - ''; }; + postBuild = + let + args = lib.concatMap (ext: ext.wrapperArgs or [ ]) installedExtensions; + in + '' + wrapProgram "$out/bin/postgres" ${lib.concatStringsSep " " args} + ''; + passthru = { inherit installedExtensions; inherit (postgresql)