ledger: Enable building of tests, and concurrent make

This commit is contained in:
John Wiegley
2018-09-03 10:15:47 -07:00
parent b06ad6199f
commit acfa8cb2a9

View File

@@ -24,6 +24,11 @@ stdenv.mkDerivation rec {
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
# broken in ledger...
postInstall = ''