mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 08:36:41 +01:00
ledger: Don't depend on python3 if usePython is false
This commit is contained in:
parent
d73efdae64
commit
9c1b29e662
1 changed files with 2 additions and 2 deletions
|
@ -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 ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue