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
No known key found for this signature in database
GPG Key ID: C144D8F4F19FE630

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 = ''