]> gitweb.ps.run Git - flakes/blobdiff - flake.nix
add gitweb overlay
[flakes] / flake.nix
index c6ff2f0ad1535261cad4f2dd745ea94ac1f8c8f8..53cc18d642a49f1186bae566380b74798fc39bcd 100644 (file)
--- a/flake.nix
+++ b/flake.nix
         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: