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:
parent
c85f23a82a
commit
179f9c4fd1
|
@ -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 ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue