summaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2018-09-03 09:54:29 -0700
committerJohn Wiegley <johnw@newartisans.com>2018-09-03 10:25:52 -0700
commitda1c3c2627fef41f7a932533e1807b4552c03610 (patch)
treecec8935f07a4508fb2840ca32623cc7997da06d9 /default.nix
parent06df9c3cfeee6b7c4a98a419f36b0243989a3e02 (diff)
downloadfork-ledger-da1c3c2627fef41f7a932533e1807b4552c03610.tar.gz
fork-ledger-da1c3c2627fef41f7a932533e1807b4552c03610.tar.bz2
fork-ledger-da1c3c2627fef41f7a932533e1807b4552c03610.zip
Add concurrent make and check to default.nix
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix5
1 files changed, 5 insertions, 0 deletions
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";