X-Git-Url: https://gitweb.ps.run/flakes/blobdiff_plain/a047da530c53b11a36b103c5d898822e167b93d2..6322055b213af87a5fcc90d2cacba56cbd8a6952:/flake.nix diff --git a/flake.nix b/flake.nix index 53cc18d..958cc37 100644 --- a/flake.nix +++ b/flake.nix @@ -1,5 +1,5 @@ { - description = "resetmsmice"; + description = "my flakes"; inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; inputs.flake-utils.url = "github:numtide/flake-utils"; @@ -10,9 +10,12 @@ 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 ]; + postPatch = (oldAttrs.postPatch or "") + '' + cp ${./patches/gitweb.perl} gitweb/gitweb.perl + ''; }); }; };