anchor.diff:    gitwebPerlLibs = with perlPackages; [ CGI HTMLParser CGIFast FCGI FCGIProcManager HTMLTagCloud ];
   in
   
  -stdenv.mkDerivation {
  +stdenv.mkDerivation (finalAttrs: {
     pname = "git"
       + lib.optionalString svnSupport "-with-svn"
       + lib.optionalString (!svnSupport && !guiSupport && !sendEmailSupport && !withManual && !pythonSupport && !withpcre2) "-minimal";
  
positive.code: , pkg-config, glib, libsecret
  , gzip # needed at runtime by gitweb.cgi
  , withSsh ? false
  }:
  
  assert osxkeychainSupport -> stdenv.isDarwin;
  
negative.code:   passthru = {
      shellPath = "/bin/git-shell";
      tests = {
        withInstallCheck = finalAttrs.finalPackage.overrideAttrs (_: {
          doInstallCheck = true;
        });
        buildbot-integration = nixosTests.buildbot;
      };
    };
  