diff options
| -rw-r--r-- | modules/git/cgit.nix | 2 | ||||
| -rw-r--r-- | packages/cgit.nix | 2 | ||||
| -rw-r--r-- | packages/cgit/0001-ui-repolist-allow-sorting-by-custom-section-list.patch | 3 |
3 files changed, 3 insertions, 4 deletions
diff --git a/modules/git/cgit.nix b/modules/git/cgit.nix index ecf3e6c..2622e2e 100644 --- a/modules/git/cgit.nix +++ b/modules/git/cgit.nix @@ -37,7 +37,7 @@ in { clone-prefix = "https://git.compromyse.xyz"; clone-url = "https://git.compromyse.xyz/$CGIT_REPO_URL"; - sections = "flagship android cybersecurity me server archive"; + sections = "flagship android me cybersecurity server archive"; "mimetype.gif" = "image/gif"; "mimetype.html" = "text/html"; diff --git a/packages/cgit.nix b/packages/cgit.nix index 80584cf..ce87b08 100644 --- a/packages/cgit.nix +++ b/packages/cgit.nix @@ -43,7 +43,7 @@ stdenv.mkDerivation rec { patches = [ ./cgit/0001-ui-repolist-allow-sorting-by-custom-section-list.patch - ] + ]; nativeBuildInputs = [ pkg-config diff --git a/packages/cgit/0001-ui-repolist-allow-sorting-by-custom-section-list.patch b/packages/cgit/0001-ui-repolist-allow-sorting-by-custom-section-list.patch index 2566101..27ad05e 100644 --- a/packages/cgit/0001-ui-repolist-allow-sorting-by-custom-section-list.patch +++ b/packages/cgit/0001-ui-repolist-allow-sorting-by-custom-section-list.patch @@ -3,8 +3,7 @@ From: Raghuram Subramani <raghus2247@gmail.com> Date: Fri, 24 Oct 2025 16:27:56 -0400 Subject: [PATCH] ui-repolist: allow sorting by custom section list -Add an option to specify a custom section ordering, with the rest of the -sections being sorted as usual at the end. +Add an option to specify a custom section ordering. Signed-off-by: Raghuram Subramani <raghus2247@gmail.com> --- |
