Skip to content

Commit 795254b

Browse files
postgresqlPackages.{plperl,plpython3,pltcl}: set pname and version instead of name (NixOS#486387)
2 parents d1e087d + 151bab3 commit 795254b

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

pkgs/servers/sql/postgresql/ext/plperl.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ let
1111
let
1212
perl' = perl.withPackages f;
1313
finalPackage = buildEnv {
14-
name = "${postgresql.pname}-plperl-${postgresql.version}";
14+
pname = "${postgresql.pname}-plperl";
15+
inherit (postgresql) version;
1516
paths = [ postgresql.plperl ];
1617
passthru = {
1718
inherit withPackages;

pkgs/servers/sql/postgresql/ext/plpython3.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ let
1111
let
1212
python = python3.withPackages f;
1313
finalPackage = buildEnv {
14-
name = "${postgresql.pname}-plpython3-${postgresql.version}";
14+
pname = "${postgresql.pname}-plpython3";
15+
inherit (postgresql) version;
1516
paths = [ postgresql.plpython3 ];
1617
passthru = {
1718
inherit withPackages;

pkgs/servers/sql/postgresql/ext/pltcl.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ let
1313
pkgs = f tclPackages;
1414
paths = lib.concatMapStringsSep " " (pkg: "${pkg}/lib") pkgs;
1515
finalPackage = buildEnv {
16-
name = "${postgresql.pname}-pltcl-${postgresql.version}";
16+
pname = "${postgresql.pname}-pltcl";
17+
inherit (postgresql) version;
1718
paths = [ postgresql.pltcl ];
1819
passthru = {
1920
inherit withPackages;

0 commit comments

Comments
 (0)