about summary refs log tree commit diff
path: root/third_party
diff options
context:
space:
mode:
Diffstat (limited to 'third_party')
-rw-r--r--third_party/cgit/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/third_party/cgit/default.nix b/third_party/cgit/default.nix
index 5f8e069a4e13..c82b862ae636 100644
--- a/third_party/cgit/default.nix
+++ b/third_party/cgit/default.nix
@@ -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";