propagate libiconv header from musl too

This commit is contained in:
Will Dietz 2018-03-23 21:57:16 -05:00
parent f623858a82
commit 9204fa2620

View File

@ -9977,7 +9977,7 @@ with pkgs;
# We also provide `libiconvReal`, which will always be a standalone libiconv, # We also provide `libiconvReal`, which will always be a standalone libiconv,
# just in case you want it regardless of platform. # just in case you want it regardless of platform.
libiconv = libiconv =
if hostPlatform.libc == "glibc" if (hostPlatform.libc == "glibc" || hostPlatform.libc == "musl")
then glibcIconv (if hostPlatform != buildPlatform then glibcIconv (if hostPlatform != buildPlatform
then libcCross then libcCross
else stdenv.cc.libc) else stdenv.cc.libc)