File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 187
187
./patches/paths-for-split-outputs.patch
188
188
./patches/specify_pkglibdir_at_runtime.patch
189
189
./patches/paths-with-postgresql-suffix.patch
190
-
191
- ( substituteAll {
192
- src = ./patches/locale-binary-path.patch ;
193
- locale = "${ if stdenv . isDarwin then darwin . adv_cmds else lib . getBin stdenv . cc . libc } /bin/locale" ;
194
- } )
190
+ ./patches/locale-binary-path.patch
195
191
]
196
192
++ lib . optionals stdenv' . hostPlatform . isMusl (
197
193
# Using fetchurl instead of fetchpatch on purpose: https://github.com/NixOS/nixpkgs/issues/240141
207
203
''
208
204
# Hardcode the path to pgxs so pg_config returns the path in $out
209
205
substituteInPlace "src/common/config_info.c" --subst-var out
206
+ substituteInPlace "src/backend/commands/collationcmds.c" --replace-fail '@locale@' '${ if stdenv . isDarwin then darwin . adv_cmds else lib . getBin stdenv . cc . libc } /bin/locale'
210
207
''
211
208
+ lib . optionalString jitSupport ''
212
209
# Force lookup of jit stuff in $out instead of $lib
You can’t perform that action at this time.
0 commit comments