diff options
author | Aaron L. Zeng <me@bcc32.com> | 2022-04-22 13:27:12 -0400 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2022-04-23 08:38:32 +0200 |
commit | 9c1b29e66294b69a84c1cc1c6ff6d606c23d327b (patch) | |
tree | c534d96485695ddc97e3b96f5993b3eea255ca12 /pkgs/applications/office | |
parent | d73efdae64e203d2659773cfb46839ed92f7e3cd (diff) |
ledger: Don't depend on python3 if usePython is false
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r-- | pkgs/applications/office/ledger/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/office/ledger/default.nix b/pkgs/applications/office/ledger/default.nix index 5478382cbd83d..0ea9b908ada63 100644 --- a/pkgs/applications/office/ledger/default.nix +++ b/pkgs/applications/office/ledger/default.nix @@ -16,8 +16,8 @@ stdenv.mkDerivation rec { buildInputs = [ (boost.override { enablePython = usePython; python = python3; }) - gmp mpfr libedit python3 gnused - ]; + gmp mpfr libedit gnused + ] ++ lib.optional usePython python3; nativeBuildInputs = [ cmake texinfo ]; |