diff options
| author | tv <tv@krebsco.de> | 2026-11-17 13:32:52 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-17 14:37:13 +0100 |
| commit | e34b6de4e12507f2212106d5f3c182c84e2e82f5 (patch) | |
| tree | 5abbcae27fb7d42f8158a86feba7f54a321118de /pkgs/simple/cgit-about-filter/default.nix | |
| parent | b3befcb77a60e0641e07a9b73da483f51cf8e982 (diff) | |
cgit-about-filter: link directories to their README.md
A relative link to a directory goes to the about page of the
directory's README.md, if the filter renders it and it exists on the
branch being viewed, and to the tree otherwise. One git cat-file
checks all links of a page.
Diffstat (limited to 'pkgs/simple/cgit-about-filter/default.nix')
| -rw-r--r-- | pkgs/simple/cgit-about-filter/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/simple/cgit-about-filter/default.nix b/pkgs/simple/cgit-about-filter/default.nix index 215a44e..a05020f 100644 --- a/pkgs/simple/cgit-about-filter/default.nix +++ b/pkgs/simple/cgit-about-filter/default.nix @@ -1,5 +1,6 @@ -{ lib, md4c, replaceVars }: +{ gitMinimal, lib, md4c, replaceVars }: replaceVars ./cgit-about-filter.lua { + git = lib.getExe gitMinimal; md2html = lib.getExe md4c; } |
