diff options
Diffstat (limited to 'web/cgit-taz/default.nix')
-rw-r--r-- | web/cgit-taz/default.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/web/cgit-taz/default.nix b/web/cgit-taz/default.nix index 314282caa1d5..fbb4cd9bc204 100644 --- a/web/cgit-taz/default.nix +++ b/web/cgit-taz/default.nix @@ -15,13 +15,17 @@ let patches = old.patches ++ [ ./cgit_depot_url.patch ]; }); + cmarkFilter = writeShellScript "pulldown-cmark-filter.sh" '' + exec ${pulldown-cmark}/bin/pulldown-cmark -TFSL + ''; + cgitConfig = writeText "cgitrc" '' # Global configuration virtual-root=/ enable-http-clone=1 readme=:README.md - about-filter=${monocgit}/lib/cgit/filters/about-formatting.sh - source-filter=${monocgit}/lib//cgit/filters/syntax-highlighting.py + about-filter=${cmarkFilter} + source-filter=${monocgit}/lib/cgit/filters/syntax-highlighting.py enable-log-filecount=1 enable-log-linecount=1 enable-follow-links=1 |