chore(3p/cgit): don't unnecessarily install cgit filters
We don't use these filters, utilizing cheddar instead. They don't work as it stands anyway, since they require wrapping to find their (mostly Python) dependencies. Change-Id: I19a690dca4fbfc03784850597752ab617f0c0522 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5638 Autosubmit: sterni <sternenseemann@systemli.org> Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
This commit is contained in:
parent
92a0d9f7da
commit
df4a4c4a52
1 changed files with 6 additions and 0 deletions
6
third_party/cgit/default.nix
vendored
6
third_party/cgit/default.nix
vendored
|
@ -34,6 +34,12 @@ stdenv.mkDerivation rec {
|
|||
cat tvl-extra.css >> cgit.css
|
||||
'';
|
||||
|
||||
# We don't use the filters and they require wrapping to find their deps
|
||||
postInstall = ''
|
||||
rm -rf "$out/lib/cgit/filters"
|
||||
find "$out" -type d -empty -delete
|
||||
'';
|
||||
|
||||
meta = {
|
||||
hompepage = "https://git.causal.agency/cgit-pink/";
|
||||
description = "cgit fork aiming for better maintenance";
|
||||
|
|
Loading…
Reference in a new issue