fix(auto-deploy): Add missing packages to path

Building nix derivations needs tar (provided by gnutar) and gzip on the
PATH in order to extract .tar.gz archives.

Change-Id: Ia2df7a3a770cfd342dfede58ad34e04805fbd1f8
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4685
Tested-by: BuildkiteCI
Autosubmit: grfn <grfn@gws.fyi>
Reviewed-by: wpcarro <wpcarro@gmail.com>
This commit is contained in:
Griffin Smith 2021-12-26 16:08:50 -05:00 committed by clbot
parent d052bc5953
commit 7ea212ee07

View file

@ -62,9 +62,11 @@ in {
systemd.services.auto-deploy = { systemd.services.auto-deploy = {
inherit description; inherit description;
script = "${deployScript}"; script = "${deployScript}";
path = [ path = with pkgs; [
pkgs.bash bash
pkgs.git git
gnutar
gzip
]; ];
after = [ "network-online.target" ]; after = [ "network-online.target" ];
wants = [ "network-online.target" ]; wants = [ "network-online.target" ];