about summary refs log tree commit diff
path: root/web/cgit-taz
diff options
context:
space:
mode:
Diffstat (limited to 'web/cgit-taz')
-rw-r--r--web/cgit-taz/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/web/cgit-taz/default.nix b/web/cgit-taz/default.nix
index 16a34472093b..c2dd7a4a4730 100644
--- a/web/cgit-taz/default.nix
+++ b/web/cgit-taz/default.nix
@@ -9,12 +9,15 @@
 with pkgs.third_party;
 
 let
+  sourceFilter = writeShellScriptBin "cheddar-about" ''
+    exec ${pkgs.tools.cheddar}/bin/cheddar --about-filter $@
+  '';
   cgitConfig = writeText "cgitrc" ''
     # Global configuration
     virtual-root=/
     enable-http-clone=1
     readme=:README.md
-    about-filter=${pkgs.tools.cheddar}/bin/cheddar
+    about-filter=${sourceFilter}/bin/cheddar-about
     source-filter=${pkgs.tools.cheddar}/bin/cheddar
     enable-log-filecount=1
     enable-log-linecount=1