File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 7
7
stdenv ,
8
8
lib ,
9
9
fetchurl ,
10
+ fetchpatch ,
10
11
makeWrapper ,
11
12
glibc ,
12
13
zlib ,
192
193
locale = "${ if stdenv . isDarwin then darwin . adv_cmds else lib . getBin stdenv . cc . libc } /bin/locale" ;
193
194
} )
194
195
]
196
+ ++ lib . optionals ( olderThan "17" ) [
197
+ # back port changes related to tzdata release 2024b
198
+ ( fetchpatch ( {
199
+ url = "https://github.com/postgres/postgres/commit/b27622c90869aab63cfe22159a459c57768b0fa4.patch" ;
200
+ hash = "sha256-7G+BkJULhyx6nlMEjClcr2PJg6awgymZHr2JgGhXanA=" ;
201
+ excludes = [ "doc/*" ] ;
202
+ } ) )
203
+ # back port changes related to tzdata release 2025a
204
+ ( fetchpatch ( {
205
+ url = "https://github.com/postgres/postgres/commit/aac0384975ff1129557cd2158fab4656f933cdc8.patch" ;
206
+ hash = "sha256-4Aua4QJhCS9B0zegQ9I6Us5QfX7GuRUilnkmOpSTUUw=" ;
207
+ excludes = [ "doc/*" ] ;
208
+ } ) )
209
+ ]
195
210
++ lib . optionals stdenv' . hostPlatform . isMusl (
196
211
# Using fetchurl instead of fetchpatch on purpose: https://github.com/NixOS/nixpkgs/issues/240141
197
212
map fetchurl ( lib . attrValues muslPatches )
You can’t perform that action at this time.
0 commit comments