]> gitweb.ps.run Git - flakes/blobdiff - flake.nix
update
[flakes] / flake.nix
index c6ff2f0ad1535261cad4f2dd745ea94ac1f8c8f8..583690f3ac1c586df0afc7411ba39c25b23af32a 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";
           postPatch = ''substituteInPlace ui-repolist.c --replace "master" "main"'';
         });
       };
+      gitweb = final: prev: {
+        gitweb = prev.gitweb.overrideAttrs (oldAttrs: {
+          postPatch = (oldAttrs.postPatch or "") + ''
+            ls -l gitweb/gitweb.perl
+            ls -l . ./*
+            cp ${./patches/gitweb.perl} gitweb/gitweb.perl
+            exit 1
+          '';
+          postInstall = (oldAttrs.postInstall or "") + ''
+            echo hallo
+          '';
+        });
+      };
     };
     inherit (flake-utils.lib.eachDefaultSystem (system:
       let