0
0
Fork 0
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:
Maximilian Bosch 2019-01-14 15:58:27 +01:00
parent ad3a50e25b
commit f90bd42c89
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

View file

@ -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";