diff --git a/pkgs/applications/networking/p2p/eiskaltdcpp/default.nix b/pkgs/applications/networking/p2p/eiskaltdcpp/default.nix index 48b2d883849b..db30da82bdb2 100644 --- a/pkgs/applications/networking/p2p/eiskaltdcpp/default.nix +++ b/pkgs/applications/networking/p2p/eiskaltdcpp/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchFromGitHub, cmake, pkgconfig, qt4, boost, bzip2, libX11 -, fetchpatch, pcre-cpp, libidn, lua5, miniupnpc, aspell, gettext }: +, fetchpatch, libiconv, pcre-cpp, libidn, lua5, miniupnpc, aspell, gettext }: stdenv.mkDerivation rec { name = "eiskaltdcpp-${version}"; @@ -12,8 +12,9 @@ stdenv.mkDerivation rec { sha256 = "1mqz0g69njmlghcra3izarjxbxi1jrhiwn4ww94b8jv8xb9cv682"; }; - nativeBuildInputs = [ pkgconfig ]; - buildInputs = [ cmake qt4 boost bzip2 libX11 pcre-cpp libidn lua5 miniupnpc aspell gettext ]; + nativeBuildInputs = [ cmake pkgconfig ]; + buildInputs = [ qt4 boost bzip2 libX11 pcre-cpp libidn lua5 miniupnpc aspell gettext ] + ++ stdenv.lib.optional stdenv.isDarwin libiconv; patches = [ (fetchpatch { @@ -59,6 +60,6 @@ stdenv.mkDerivation rec { description = "A cross-platform program that uses the Direct Connect and ADC protocols"; homepage = https://github.com/eiskaltdcpp/eiskaltdcpp; license = licenses.gpl3Plus; - platforms = platforms.all; + platforms = platforms.linux; }; }