libunistring: Do propagate libiconv on non-Linux

Fixes #19492.
This commit is contained in:
Eelco Dolstra 2016-10-12 20:26:43 +02:00
parent 985dec611b
commit ed6006790a

View File

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
patches = stdenv.lib.optional stdenv.isDarwin [ ./clang.patch ];
buildInputs = [ libiconv ];
propagatedBuildInputs = stdenv.lib.optional (!stdenv.isLinux) libiconv;
configureFlags = [
"--with-libiconv-prefix=${libiconv}"