3
0
Fork 0
forked from mirrors/nixpkgs

ledger: Don't depend on python3 if usePython is false

This commit is contained in:
Aaron L. Zeng 2022-04-22 13:27:12 -04:00 committed by Bjørn Forsman
parent d73efdae64
commit 9c1b29e662

View file

@ -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 ];