X-Git-Url: https://gitweb.ps.run/flakes/blobdiff_plain/2f75d496563e6b4053f21bd9a66bc4b06b09360c..6322055b213af87a5fcc90d2cacba56cbd8a6952:/flake.nix diff --git a/flake.nix b/flake.nix index c6ff2f0..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"; @@ -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