Merge pull request #184619 from SuperSandro2000/gitit

authored by Sandro and committed by GitHub 77cbd6d5 5f9b871b

+5 -5
+5 -5
nixos/modules/services/misc/gitit.nix
··· 689 689 '' 690 690 if [ ! -d _darcs ] 691 691 then 692 - ${pkgs.darcs}/bin/darcs initialize 692 + darcs initialize 693 693 echo "${gm}" > _darcs/prefs/email 694 694 '' 695 695 else if repositoryType == "mercurial" then 696 696 '' 697 697 if [ ! -d .hg ] 698 698 then 699 - ${pkgs.mercurial}/bin/hg init 699 + hg init 700 700 cat >> .hg/hgrc <<NAMED 701 701 [ui] 702 702 username = gitit ${gm} ··· 706 706 '' 707 707 if [ ! -d .git ] 708 708 then 709 - ${pkgs.git}/bin/git init 710 - ${pkgs.git}/bin/git config user.email "${gm}" 711 - ${pkgs.git}/bin/git config user.name "gitit" 709 + git init 710 + git config user.email "${gm}" 711 + git config user.name "gitit" 712 712 ''} 713 713 chown ${uid}:${gid} -R ${repositoryPath} 714 714 fi