From da1c3c2627fef41f7a932533e1807b4552c03610 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 3 Sep 2018 09:54:29 -0700 Subject: Add concurrent make and check to default.nix --- default.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'default.nix') diff --git a/default.nix b/default.nix index 85932da9..a60e607f 100644 --- a/default.nix +++ b/default.nix @@ -26,6 +26,11 @@ stdenv.mkDerivation { cmakeFlags = [ "-DCMAKE_INSTALL_LIBDIR=lib" ]; + buildPhase = "make -j$NIX_BUILD_CORES"; + checkPhase = "ctest -j$NIX_BUILD_CORES"; + + doCheck = true; + meta = { homepage = "http://ledger-cli.org/"; description = "A double-entry accounting system with a command-line reporting interface"; -- cgit v1.2.3