mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
icu: xlocale.h fixup needed w/musl as well
This commit is contained in:
parent
6923737bb4
commit
e93dc20ed4
@ -26,7 +26,7 @@ stdenv.mkDerivation {
|
||||
'';
|
||||
|
||||
# https://sourceware.org/glibc/wiki/Release/2.26#Removal_of_.27xlocale.h.27
|
||||
postPatch = if stdenv ? glibc
|
||||
postPatch = if (stdenv.hostPlatform.libc == "glibc" || stdenv.hostPlatform.libc == "musl")
|
||||
then "substituteInPlace i18n/digitlst.cpp --replace '<xlocale.h>' '<locale.h>'"
|
||||
else null; # won't find locale_t on darwin
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user