self: super:
{
  gitweb = super.gitweb.override {
    git = super.git.overrideAttrs (attrs: {
      doCheck = false;
      doInstallCheck = false;
      patches = attrs.patches ++ [gitweb/0001-gitweb-fix-UTF-8-encoding-when-using-CGI-Fast.patch];
    });
  };
}