diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2022-08-04 11:53:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-04 11:53:26 +0200 |
commit | 77cbd6d51d5c1e10f224711a686eb214614f14c1 (patch) | |
tree | e8ea99bb9b0a083b2340d58c42228c42c5d3bfff /nixos | |
parent | 5f9b871b72b24f066b1a1e189efd0669f2888c49 (diff) | |
parent | f7522d6b564e614f6c4fc9a43a7d641e405c555c (diff) |
Merge pull request #184619 from SuperSandro2000/gitit
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/misc/gitit.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nixos/modules/services/misc/gitit.nix b/nixos/modules/services/misc/gitit.nix index 87dd97166b8eb..223fa76d9106b 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 <<NAMED [ui] username = gitit ${gm} @@ -706,9 +706,9 @@ NAMED '' if [ ! -d .git ] then - ${pkgs.git}/bin/git init - ${pkgs.git}/bin/git config user.email "${gm}" - ${pkgs.git}/bin/git config user.name "gitit" + git init + git config user.email "${gm}" + git config user.name "gitit" ''} chown ${uid}:${gid} -R ${repositoryPath} fi |