1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

twister: Use boost with Python support

Since 772eef9168, Boost by default doesn't
support Python anymore, so we need to override it with Python support.

Signed-off-by: aszlig <aszlig@nix.build>
This commit is contained in:
aszlig 2018-07-01 19:38:06 +02:00
parent 179f9c4fd1
commit b916ed31f2
No known key found for this signature in database
GPG key ID: 684089CE67EBB691

View file

@ -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 {