ledger: Enable building of tests, and concurrent make
This commit is contained in:
parent
b06ad6199f
commit
acfa8cb2a9
@ -24,6 +24,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
cmakeFlags = [ "-DCMAKE_INSTALL_LIBDIR=lib" (stdenv.lib.optionalString usePython "-DUSE_PYTHON=true") ];
|
cmakeFlags = [ "-DCMAKE_INSTALL_LIBDIR=lib" (stdenv.lib.optionalString usePython "-DUSE_PYTHON=true") ];
|
||||||
|
|
||||||
|
buildPhase = "make -j$NIX_BUILD_CORES";
|
||||||
|
checkPhase = "ctest -j$NIX_BUILD_CORES";
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
# Skip byte-compiling of emacs-lisp files because this is currently
|
# Skip byte-compiling of emacs-lisp files because this is currently
|
||||||
# broken in ledger...
|
# broken in ledger...
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user