From 179f9c4fd12865a2e5089ce18bd0effd1c048f3a Mon Sep 17 00:00:00 2001 From: aszlig Date: Sun, 1 Jul 2018 19:32:50 +0200 Subject: ledger: Use Boost Python support if applicable Since 772eef91686974b7710081a9a77e5c0e287c25e8 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 Cc: @the-kenny, @jwiegley --- pkgs/applications/office/ledger/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'pkgs/applications/office/ledger/default.nix') diff --git a/pkgs/applications/office/ledger/default.nix b/pkgs/applications/office/ledger/default.nix index 9675293cfe57..387a71aa04ee 100644 --- a/pkgs/applications/office/ledger/default.nix +++ b/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 ]; -- cgit 1.4.1