treesummaryrefslogcommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorpatrick-scho2025-11-26 10:27:55 +0100
committerpatrick-scho2025-11-26 10:27:55 +0100
commita047da530c53b11a36b103c5d898822e167b93d2 (patch)
treed2fac8459d9f228f4fe1e9a2326dcbf3707863e3 /flake.nix
parent2f75d496563e6b4053f21bd9a66bc4b06b09360c (diff)
downloadflakes-a047da530c53b11a36b103c5d898822e167b93d2.tar.gz
flakes-a047da530c53b11a36b103c5d898822e167b93d2.zip
add gitweb overlay
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index c6ff2f0..53cc18d 100644
--- a/flake.nix
+++ b/flake.nix
@@ -10,6 +10,10 @@
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: