anchor.diff:      make -C contrib/subtree
     '' + (lib.optionalString perlSupport ''
       make -C contrib/diff-highlight
  -  '') + (lib.optionalString stdenv.isDarwin ''
  +  '') + (lib.optionalString osxkeychainSupport ''
       make -C contrib/credential/osxkeychain
     '') + (lib.optionalString withLibsecret ''
       make -C contrib/credential/libsecret
  
positive.code: , svnSupport, subversionClient, perlLibs, smtpPerlLibs
  , perlSupport ? true
  , nlsSupport ? true
  , guiSupport
  , withManual ? true
  , pythonSupport ? true
  
negative.code: 
    installFlags = [ "NO_INSTALL_HARDLINKS=1" ];
  
    preInstall = (lib.optionalString osxkeychainSupport ''
      mkdir -p $out/bin
      ln -s $out/share/git/contrib/credential/osxkeychain/git-credential-osxkeychain $out/bin/
      rm -f $PWD/contrib/credential/osxkeychain/git-credential-osxkeychain.o
  