infinite recursion and cross-build fix

This commit is contained in:
Eric Litak 2016-05-28 09:26:23 -07:00
parent f44e70a68b
commit 78f7933829
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
sed -i -e "s/\(am_libgettextlib_la_OBJECTS = \)error.lo/\\1/" gettext-tools/gnulib-lib/Makefile.in
'';
buildInputs = [ xz xz.bin libiconv ];
nativeBuildInputs = [ xz xz.bin ] ++ stdenv.lib.optional (!stdenv.isLinux) libiconv; # HACK, see #10874 (and 14664)
enableParallelBuilding = true;