From: patrick-scho Date: Wed, 26 Nov 2025 09:27:55 +0000 (+0100) Subject: add gitweb overlay X-Git-Url: https://gitweb.ps.run/flakes/commitdiff_plain/a047da530c53b11a36b103c5d898822e167b93d2 add gitweb overlay --- 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: