mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 19:16:11 +00:00
Merge pull request #39919 from plapadoo/ledger-use-python
ledger: enable python command
This commit is contained in:
commit
005d803762
@ -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...
|
||||
|
Loading…
Reference in New Issue
Block a user