]> gitweb.ps.run Git - flakes/blobdiff - flake.nix
add gitweb overlay
[flakes] / flake.nix
index ae83df31dcae010370d7e98eefb2a01d2b5947ab..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:
@@ -47,7 +51,7 @@
           program = "${self.packages.${system}.resetmsmice}/bin/resetmsmice";
         };
       })
-    )
+    ) packages apps;
   };
 }