diff options
author | sterni <sternenseemann@systemli.org> | 2021-04-01T23·09+0200 |
---|---|---|
committer | sterni <sternenseemann@systemli.org> | 2021-04-02T09·17+0000 |
commit | 1f40a52280dcb5bde8f2ad086a081171285bf623 (patch) | |
tree | 92ea49d59674dc43a914dc63ae0ebd6b67aff186 /third_party | |
parent | 108e19c906d4f6b4a0765f30b6df99e2dd9a19ca (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')
-rw-r--r-- | third_party/cgit/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/cgit/default.nix b/third_party/cgit/default.nix index 253d3022f086..b566e41c332f 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"|' \ |