Merge pull request #39919 from plapadoo/ledger-use-python

ledger: enable python command
This commit is contained in:
Matthew Justin Bauer
2018-05-05 16:26:52 -05:00
committed by GitHub

View File

@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, cmake, boost, gmp, mpfr, libedit, python
, texinfo, gnused }:
, texinfo, gnused, usePython ? true }:
stdenv.mkDerivation rec {
name = "ledger-${version}";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
cmakeFlags = [ "-DCMAKE_INSTALL_LIBDIR=lib" ];
cmakeFlags = [ "-DCMAKE_INSTALL_LIBDIR=lib" (stdenv.lib.optionalString usePython "-DUSE_PYTHON=true") ];
# Skip byte-compiling of emacs-lisp files because this is currently
# broken in ledger...