diff --git a/nixos/modules/services/misc/gitit.nix b/nixos/modules/services/misc/gitit.nix index 87dd97166b8e..223fa76d9106 100644 --- a/nixos/modules/services/misc/gitit.nix +++ b/nixos/modules/services/misc/gitit.nix @@ -689,14 +689,14 @@ in '' if [ ! -d _darcs ] then - ${pkgs.darcs}/bin/darcs initialize + darcs initialize echo "${gm}" > _darcs/prefs/email '' else if repositoryType == "mercurial" then '' if [ ! -d .hg ] then - ${pkgs.mercurial}/bin/hg init + hg init cat >> .hg/hgrc <