git.iko.soy/typeable/nixpkgs
on master help sign in
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 <aszlig@nix.build>

commitb916ed31f2d71ccb8a89d2fce21a96b8e4b60689 authoraszlig <aszlig@nix.build> dateSun 1 Jul 2018, 19:38 (8 years ago) parent179f9c4
1 file changed+4−2
pkgs/applications/networking/p2p/twister/default.nix+4−2
pkgs/applications/networking/p2p/twister/default.nix+4−2
@@ -13,6 +13,8 @@ let
1313 };
1414 };
1515
16+ boostPython = boost.override { enablePython = true; };
17+
1618in stdenv.mkDerivation rec {
1719 name = "twister-${version}";
1820 version = "0.9.34";
@@ -29,13 +31,13 @@ in stdenv.mkDerivation rec {
2931 "--disable-deprecated-functions"
3032 "--enable-tests"
3133 "--enable-python-binding"
32− "--with-boost-libdir=${boost.out}/lib"
34+ "--with-boost-libdir=${boostPython.out}/lib"
3335 ];
3436
3537 nativeBuildInputs = [ pkgconfig ];
3638 buildInputs = [
3739 autoconf automake libtool python2
38− boost db openssl geoip miniupnpc libiconv
40+ boostPython db openssl geoip miniupnpc libiconv
3941 ];
4042
4143 patches = stdenv.lib.singleton (fetchpatch {