From 1f40a52280dcb5bde8f2ad086a081171285bf623 Mon Sep 17 00:00:00 2001 From: sterni Date: Fri, 2 Apr 2021 01:09:05 +0200 Subject: feat(3p/cgit): enableParallelBuilding 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 --- third_party/cgit/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'third_party/cgit') 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"|' \ -- cgit 1.4.1