From 6322055b213af87a5fcc90d2cacba56cbd8a6952 Mon Sep 17 00:00:00 2001 From: patrick-scho Date: Thu, 27 Nov 2025 20:56:28 +0100 Subject: add gitweb overlay back --- flake.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to '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 -- cgit v1.2.3