postgresql: fix tclSupport with strictDeps

Can't find tcl anymore ever since we enabled strictDeps. Need to do the
same as for perl and python.
This commit is contained in:
Wolfgang Walther 2025-02-28 15:36:38 +01:00
parent 0ccd469787
commit 2888972b4f
No known key found for this signature in database
GPG Key ID: B39893FA5F65CAE1

View File

@ -216,7 +216,6 @@ let
++ lib.optionals pamSupport [ linux-pam ]
++ lib.optionals perlSupport [ perl ]
++ lib.optionals ldapSupport [ openldap ]
++ lib.optionals tclSupport [ tcl ]
++ lib.optionals selinuxSupport [ libselinux ]
++ lib.optionals nlsSupport [ gettext ];
@ -256,7 +255,8 @@ let
+ (if stdenv'.cc.isClang then " -flto" else " -fmerge-constants -Wl,--gc-sections");
}
// lib.optionalAttrs perlSupport { PERL = lib.getExe perl; }
// lib.optionalAttrs pythonSupport { PYTHON = lib.getExe python3; };
// lib.optionalAttrs pythonSupport { PYTHON = lib.getExe python3; }
// lib.optionalAttrs tclSupport { TCLSH = "${lib.getBin tcl}/bin/tclsh"; };
configureFlags =
let