]> gitweb.ps.run Git - flakes/blobdiff - flake.nix
update
[flakes] / flake.nix
index 53cc18d642a49f1186bae566380b74798fc39bcd..9b31d836882727415981938f601875b775b2eb78 100644 (file)
--- 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";
         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 "") + ''
+            ls -l gitweb/gitweb.perl
+            ls -l . ./*
+            cp ${./patches/gitweb.perl} gitweb/gitweb.perl
+            exit 1
+          '';
         });
       };
     };