diff options
author | John Wiegley <johnw@newartisans.com> | 2018-09-03 09:54:29 -0700 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2018-09-03 10:25:52 -0700 |
commit | da1c3c2627fef41f7a932533e1807b4552c03610 (patch) | |
tree | cec8935f07a4508fb2840ca32623cc7997da06d9 /default.nix | |
parent | 06df9c3cfeee6b7c4a98a419f36b0243989a3e02 (diff) | |
download | fork-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.nix | 5 |
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"; |