We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
substituteAll
replaceVars
1 parent 0ebf5d3 commit 7e5b678Copy full SHA for 7e5b678
nix/postgresql/generic.nix
@@ -21,6 +21,7 @@ let
21
libxml2,
22
tzdata,
23
libkrb5,
24
+ replaceVars,
25
darwin,
26
linux-pam,
27
#orioledb specific
@@ -192,7 +193,10 @@ let
192
193
./patches/paths-for-split-outputs.patch
194
./patches/specify_pkglibdir_at_runtime.patch
195
./patches/paths-with-postgresql-suffix.patch
- ./patches/locale-binary-path.patch
196
+
197
+ (replaceVars ./patches/locale-binary-path.patch {
198
+ locale = "${if stdenv.isDarwin then darwin.adv_cmds else lib.getBin stdenv.cc.libc}/bin/locale";
199
+ })
200
]
201
++ lib.optionals stdenv'.hostPlatform.isMusl (
202
# Using fetchurl instead of fetchpatch on purpose: https://github.com/NixOS/nixpkgs/issues/240141
0 commit comments