3
0
Fork 0
forked from mirrors/nixpkgs

ledger: Use Boost Python support if applicable

Since 772eef9168 Boost no longer has
Python support enabled by default, so depending on whether Ledger has
Python support built in we also use either Boost with Python support or
without.

Tested building with and without Python support and both builds now
succeed.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @the-kenny, @jwiegley
This commit is contained in:
aszlig 2018-07-01 19:32:50 +02:00
parent c85f23a82a
commit 179f9c4fd1
No known key found for this signature in database
GPG key ID: 684089CE67EBB691

View file

@ -13,7 +13,10 @@ stdenv.mkDerivation rec {
fetchSubmodules = true;
};
buildInputs = [ boost gmp mpfr libedit python texinfo gnused ];
buildInputs = [
(boost.override { enablePython = usePython; })
gmp mpfr libedit python texinfo gnused
];
nativeBuildInputs = [ cmake ];