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:
parent
df4a4c4a52
commit
c85291c602
1 changed files with 2 additions and 0 deletions
2
third_party/cgit/default.nix
vendored
2
third_party/cgit/default.nix
vendored
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue