From b916ed31f2d71ccb8a89d2fce21a96b8e4b60689 Mon Sep 17 00:00:00 2001 From: aszlig Date: Sun, 1 Jul 2018 19:38:06 +0200 Subject: [PATCH] twister: Use boost with Python support Since 772eef91686974b7710081a9a77e5c0e287c25e8, Boost by default doesn't support Python anymore, so we need to override it with Python support. Signed-off-by: aszlig --- pkgs/applications/networking/p2p/twister/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/p2p/twister/default.nix b/pkgs/applications/networking/p2p/twister/default.nix index d30527ca609..cce44521a62 100644 --- a/pkgs/applications/networking/p2p/twister/default.nix +++ b/pkgs/applications/networking/p2p/twister/default.nix @@ -13,6 +13,8 @@ let }; }; + boostPython = boost.override { enablePython = true; }; + in stdenv.mkDerivation rec { name = "twister-${version}"; version = "0.9.34"; @@ -29,13 +31,13 @@ in stdenv.mkDerivation rec { "--disable-deprecated-functions" "--enable-tests" "--enable-python-binding" - "--with-boost-libdir=${boost.out}/lib" + "--with-boost-libdir=${boostPython.out}/lib" ]; nativeBuildInputs = [ pkgconfig ]; buildInputs = [ autoconf automake libtool python2 - boost db openssl geoip miniupnpc libiconv + boostPython db openssl geoip miniupnpc libiconv ]; patches = stdenv.lib.singleton (fetchpatch {