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