mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 14:10:33 +03:00
nixos/gitea: add git
to the service path
Otherwise commands like `git push` will fail if the machine doesn't have git installed.
This commit is contained in:
parent
ad3a50e25b
commit
f90bd42c89
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ in
|
|||
description = "gitea";
|
||||
after = [ "network.target" ] ++ lib.optional usePostgresql "postgresql.service" ++ lib.optional useMysql "mysql.service";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
path = [ gitea.bin ];
|
||||
path = [ gitea.bin pkgs.gitAndTools.git ];
|
||||
|
||||
preStart = let
|
||||
runConfig = "${cfg.stateDir}/custom/conf/app.ini";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue