about summary refs log tree commit diff
path: root/third_party/cgit
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2021-04-01T23·09+0200
committersterni <sternenseemann@systemli.org>2021-04-02T09·17+0000
commit1f40a52280dcb5bde8f2ad086a081171285bf623 (patch)
tree92ea49d59674dc43a914dc63ae0ebd6b67aff186 /third_party/cgit
parent108e19c906d4f6b4a0765f30b6df99e2dd9a19ca (diff)
feat(3p/cgit): enableParallelBuilding r/2397
This gives a decent compilation speedup even on slow machines, so seems
worth it. Let's hope the cgit build process is not racy.

Change-Id: Ic4ae72789da2ccae16fd48e46aec624244b25035
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2755
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'third_party/cgit')
-rw-r--r--third_party/cgit/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/cgit/default.nix b/third_party/cgit/default.nix
index 253d3022f0..b566e41c33 100644
--- a/third_party/cgit/default.nix
+++ b/third_party/cgit/default.nix
@@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ autoconf pkgconfig ];
   buildInputs = [ openssl zlib luajit ];
 
+  enableParallelBuilding = true;
+
   postPatch = ''
     sed -e 's|"gzip"|"${gzip}/bin/gzip"|' \
         -e 's|"bzip2"|"${bzip2.bin}/bin/bzip2"|' \