diff options
author | Katharina Fey <kookie@spacekookie.de> | 2020-12-31 15:16:52 +0100 |
---|---|---|
committer | Katharina Fey <kookie@spacekookie.de> | 2020-12-31 16:52:07 +0100 |
commit | 51970440a767f3906bcb69cc3d00185391c5d595 (patch) | |
tree | 1469d36232518900577604de9e3dc5cd3acb1d49 /infra/libkookie/overlays/patches/cgit/default.nix | |
parent | 1d8f1df4a395fd69d20f6c172c78ca08070d0fa3 (diff) |
libkookie: cgit: add patch to render recursive READMEs
Diffstat (limited to '')
-rw-r--r-- | infra/libkookie/overlays/patches/cgit/default.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/infra/libkookie/overlays/patches/cgit/default.nix b/infra/libkookie/overlays/patches/cgit/default.nix new file mode 100644 index 000000000000..cddb7cf6a55e --- /dev/null +++ b/infra/libkookie/overlays/patches/cgit/default.nix @@ -0,0 +1,12 @@ +/* CGIT README RENDERING CUSTOMISATION + * + * This patch makes it so that cgit will display readme files in about + * relative to the selected directory in the tree, making it so that + * sub-projects can be advertised more easily. + * + */ +{ cgit, ... }: + +cgit.overrideAttrs ({ patches ? [], ... }: { + patches = patches ++ [ ./0001-recursive-readme.patch ]; +}) |