wget wants libiconv but doesn't say so

This commit is contained in:
Dan Peebles 2015-02-18 00:49:37 -05:00
parent 025f87f79a
commit 12c1c8d590

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, gettext, libidn
, perl, perlPackages, LWP, python3
, gnutls ? null }:
, libiconv, gnutls ? null }:
stdenv.mkDerivation rec {
name = "wget-1.16";
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
'';
nativeBuildInputs = [ gettext ];
buildInputs = [ libidn ]
buildInputs = [ libidn libiconv ]
++ stdenv.lib.optionals doCheck [ perl perlPackages.IOSocketSSL LWP python3 ]
++ stdenv.lib.optional (gnutls != null) gnutls
++ stdenv.lib.optional stdenv.isDarwin perl;