icu: xlocale.h fixup needed w/musl as well

This commit is contained in:
Will Dietz 2018-02-02 06:50:26 -06:00
parent 6923737bb4
commit e93dc20ed4

View File

@ -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