about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--third_party/cgit/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/third_party/cgit/default.nix b/third_party/cgit/default.nix
index 47c0de0d6518..5f8e069a4e13 100644
--- a/third_party/cgit/default.nix
+++ b/third_party/cgit/default.nix
@@ -1,7 +1,7 @@
 { depot, lib, pkgs, ... }:
 
 let
-  inherit (pkgs) stdenv gzip bzip2 xz luajit zlib autoconf openssl pkgconfig;
+  inherit (pkgs) stdenv gzip bzip2 xz lzip zstd zlib openssl;
 in
 stdenv.mkDerivation rec {
   pname = "cgit-pink";
@@ -15,7 +15,9 @@ stdenv.mkDerivation rec {
   postPatch = ''
     sed -e 's|"gzip"|"${gzip}/bin/gzip"|' \
         -e 's|"bzip2"|"${bzip2.bin}/bin/bzip2"|' \
+        -e 's|"lzip"|"${lzip}/bin/lzip"|' \
         -e 's|"xz"|"${xz.bin}/bin/xz"|' \
+        -e 's|"zstd"|"${zstd}/bin/zstd"|' \
         -i ui-snapshot.c
   '';