treesummaryrefslogcommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix7
1 files changed, 7 insertions, 0 deletions
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