chore(3p/cgit): strip debug symbols on the cgit cgi script

This saves 10MB which seems useful for a CGI binary that is started a
lot.

Change-Id: I9536955d3962647a3fce2821bbdc4c3826fb4a91
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5639
Autosubmit: sterni <sternenseemann@systemli.org>
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
This commit is contained in:
sterni 2022-05-19 10:48:19 +02:00 committed by clbot
parent df4a4c4a52
commit c85291c602

View file

@ -34,6 +34,8 @@ stdenv.mkDerivation rec {
cat tvl-extra.css >> cgit.css
'';
stripDebugList = [ "cgit" ];
# We don't use the filters and they require wrapping to find their deps
postInstall = ''
rm -rf "$out/lib/cgit/filters"