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
wip/yesman
aszlig 6 years ago
parent c85f23a82a
commit 179f9c4fd1
No known key found for this signature in database
GPG Key ID: 684089CE67EBB691
  1. 5
      pkgs/applications/office/ledger/default.nix

@ -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…
Cancel
Save