From a047da530c53b11a36b103c5d898822e167b93d2 Mon Sep 17 00:00:00 2001 From: patrick-scho Date: Wed, 26 Nov 2025 10:27:55 +0100 Subject: [PATCH] add gitweb overlay --- flake.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flake.nix b/flake.nix index c6ff2f0..53cc18d 100644 --- a/flake.nix +++ b/flake.nix @@ -10,6 +10,10 @@ cgit = prev.cgit.overrideAttrs (oldAttrs: { postPatch = ''substituteInPlace ui-repolist.c --replace "master" "main"''; }); + gitweb = final: prev: { + gitweb = prev.gitweb.overrideAttrs (oldAttrs: { + patches = [ ./patches/gitweb.patch ]; + }); }; }; inherit (flake-utils.lib.eachDefaultSystem (system: -- 2.50.1