about summary refs log tree commit diff
path: root/pkgs/tools/text/source-highlight
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2021-09-11 09:33:33 +0100
committerSergei Trofimovich <slyich@gmail.com>2021-09-11 12:21:46 +0100
commit1123630e12cb3089bd5695894b00095c52f8bf68 (patch)
treedd4c8f8aae907249de7cffc50f9444e545c993ef /pkgs/tools/text/source-highlight
parent646e7aa079fbe894e49efb6aa3a4fe3585bf8163 (diff)
downloadnixlib-1123630e12cb3089bd5695894b00095c52f8bf68.tar
nixlib-1123630e12cb3089bd5695894b00095c52f8bf68.tar.gz
nixlib-1123630e12cb3089bd5695894b00095c52f8bf68.tar.bz2
nixlib-1123630e12cb3089bd5695894b00095c52f8bf68.tar.lz
nixlib-1123630e12cb3089bd5695894b00095c52f8bf68.tar.xz
nixlib-1123630e12cb3089bd5695894b00095c52f8bf68.tar.zst
nixlib-1123630e12cb3089bd5695894b00095c52f8bf68.zip
sourceHighlight: enable tests, disable parallelism in tests only
Diffstat (limited to 'pkgs/tools/text/source-highlight')
-rw-r--r--pkgs/tools/text/source-highlight/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/tools/text/source-highlight/default.nix b/pkgs/tools/text/source-highlight/default.nix
index c1802e04779e..0732bf59c624 100644
--- a/pkgs/tools/text/source-highlight/default.nix
+++ b/pkgs/tools/text/source-highlight/default.nix
@@ -30,7 +30,12 @@ stdenv.mkDerivation rec {
 
   configureFlags = [ "--with-boost=${boost.out}" ];
 
-  enableParallelBuilding = false;
+  doCheck = true;
+
+  enableParallelBuilding = true;
+  # Upstream uses the same intermediate files in multiple tests, running
+  # them in parallel by make will eventually break one or more tests.
+  enableParallelChecking = false;
 
   outputs = [ "out" "doc" "dev" ];