diff options
author | aszlig <aszlig@nix.build> | 2018-07-01 19:48:26 +0200 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2018-07-01 19:51:21 +0200 |
commit | f081ccccd17f93871bcde47b0c0ed11347bb8335 (patch) | |
tree | 4213fe0abb1d5bb78b51e04c70500c4266dc3d16 /pkgs | |
parent | b916ed31f2d71ccb8a89d2fce21a96b8e4b60689 (diff) |
libtorrent-rasterbar: Use Boost supporting Python
Since 772eef91686974b7710081a9a77e5c0e287c25e8, the Boost package doesn't support Python by default anymore, so we need to override it with Python support because --enable-python-binding is enabled by default in libtorrent-rasterbar. The build of the package now succeeds again on my x86_64-linux machine. Signed-off-by: aszlig <aszlig@nix.build> Cc: @phreedom
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/libtorrent-rasterbar/default.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/development/libraries/libtorrent-rasterbar/default.nix b/pkgs/development/libraries/libtorrent-rasterbar/default.nix index d0b2d79e9fab3..1cc426138598e 100644 --- a/pkgs/development/libraries/libtorrent-rasterbar/default.nix +++ b/pkgs/development/libraries/libtorrent-rasterbar/default.nix @@ -4,6 +4,9 @@ let version = "1.1.7"; formattedVersion = lib.replaceChars ["."] ["_"] version; + + boostPython = boost.override { enablePython = true; }; + in stdenv.mkDerivation { name = "libtorrent-rasterbar-${version}"; @@ -27,15 +30,15 @@ in stdenv.mkDerivation { enableParallelBuilding = true; nativeBuildInputs = [ automake autoconf libtool pkgconfig ]; - buildInputs = [ boost openssl zlib python libiconv geoip ]; + buildInputs = [ boostPython openssl zlib python libiconv geoip ]; preConfigure = "./autotool.sh"; configureFlags = [ "--enable-python-binding" "--with-libgeoip=system" "--with-libiconv=yes" - "--with-boost=${boost.dev}" - "--with-boost-libdir=${boost.out}/lib" + "--with-boost=${boostPython.dev}" + "--with-boost-libdir=${boostPython.out}/lib" "--with-libiconv=yes" ]; |