fix(3p/cgit): substitute newly supported compression tools
This code is copied from the cgit derivation in nixpkgs, seems like we missed when these new compression methods were added. Change-Id: I2d4118785abc173c86ac92e3007cd7027a1e0496 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5637 Autosubmit: sterni <sternenseemann@systemli.org> Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
This commit is contained in:
parent
40803d9c6d
commit
92a0d9f7da
1 changed files with 3 additions and 1 deletions
4
third_party/cgit/default.nix
vendored
4
third_party/cgit/default.nix
vendored
|
@ -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
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue