X-Git-Url: https://gitweb.ps.run/flakes/blobdiff_plain/7091da1c89c559554b3896b7c87bf382c0087246..6322055b213af87a5fcc90d2cacba56cbd8a6952:/flake.nix diff --git a/flake.nix b/flake.nix index 825ae50..958cc37 100644 --- a/flake.nix +++ b/flake.nix @@ -11,6 +11,13 @@ postPatch = ''substituteInPlace ui-repolist.c --replace "master" "main"''; }); }; + gitweb = final: prev: { + gitweb = prev.gitweb.overrideAttrs (oldAttrs: { + postPatch = (oldAttrs.postPatch or "") + '' + cp ${./patches/gitweb.perl} gitweb/gitweb.perl + ''; + }); + }; }; inherit (flake-utils.lib.eachDefaultSystem (system: let