summary refs log tree commit diff
path: root/pkgs/applications/networking/p2p/twister/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/networking/p2p/twister/default.nix')
-rw-r--r--pkgs/applications/networking/p2p/twister/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/applications/networking/p2p/twister/default.nix b/pkgs/applications/networking/p2p/twister/default.nix
index d30527ca6093..cce44521a620 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 {