forked from mirrors/nixpkgs
ledger: Don't depend on python3 if usePython is false
This commit is contained in:
parent
d73efdae64
commit
9c1b29e662
|
@ -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