diff --git a/pkgs/development/libraries/libtorrent-rasterbar/default.nix b/pkgs/development/libraries/libtorrent-rasterbar/default.nix index b4380c71986..035077e12a6 100644 --- a/pkgs/development/libraries/libtorrent-rasterbar/default.nix +++ b/pkgs/development/libraries/libtorrent-rasterbar/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, boost, openssl, pkgconfig, zlib, python }: +{ stdenv, fetchurl, boost, openssl, pkgconfig, zlib, python, libiconvOrNull, geoip }: stdenv.mkDerivation rec { name = "libtorrent-rasterbar-${version}"; @@ -9,12 +9,14 @@ stdenv.mkDerivation rec { sha256 = "1sr788hhip6pgfb842110nl36hqdc1vz2s9n5vzypm0jy7qklmvm"; }; - buildInputs = [ boost pkgconfig openssl zlib python ]; + buildInputs = [ boost pkgconfig openssl zlib python libiconvOrNull geoip ]; configureFlags = [ "--with-boost=${boost}/include/boost" "--with-boost-libdir=${boost}/lib" "--enable-python-binding" + "--with-libgeoip=system" + "--with-libiconv=yes" ]; meta = with stdenv.lib; {