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:
sterni 2022-05-19 10:46:39 +02:00 committed by clbot
parent 92a0d9f7da
commit df4a4c4a52

View file

@ -34,6 +34,12 @@ stdenv.mkDerivation rec {
cat tvl-extra.css >> cgit.css 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 = { meta = {
hompepage = "https://git.causal.agency/cgit-pink/"; hompepage = "https://git.causal.agency/cgit-pink/";
description = "cgit fork aiming for better maintenance"; description = "cgit fork aiming for better maintenance";