diff options
author | Will Dietz <w@wdtz.org> | 2018-02-02 06:50:26 -0600 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2018-02-13 09:45:01 -0600 |
commit | e93dc20ed4a4b630855e96a7d05053cfabe85983 (patch) | |
tree | c89e8f6e8d95b6151d691abc0545af59021392f2 /pkgs/development | |
parent | 6923737bb4a8c03c4d63b478c764199add829423 (diff) | |
download | nixlib-e93dc20ed4a4b630855e96a7d05053cfabe85983.tar nixlib-e93dc20ed4a4b630855e96a7d05053cfabe85983.tar.gz nixlib-e93dc20ed4a4b630855e96a7d05053cfabe85983.tar.bz2 nixlib-e93dc20ed4a4b630855e96a7d05053cfabe85983.tar.lz nixlib-e93dc20ed4a4b630855e96a7d05053cfabe85983.tar.xz nixlib-e93dc20ed4a4b630855e96a7d05053cfabe85983.tar.zst nixlib-e93dc20ed4a4b630855e96a7d05053cfabe85983.zip |
icu: xlocale.h fixup needed w/musl as well
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/libraries/icu/base.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/icu/base.nix b/pkgs/development/libraries/icu/base.nix index 6d9a9725cc2e..2c8392c8bac8 100644 --- a/pkgs/development/libraries/icu/base.nix +++ b/pkgs/development/libraries/icu/base.nix @@ -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 |