diff options
author | Griffin Smith <grfn@gws.fyi> | 2021-12-26T21·08-0500 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2021-12-26T21·33+0000 |
commit | 7ea212ee0735c3ee44e577bf5f9baa745fa97286 (patch) | |
tree | 143efd7e1c0f92d28d59bf03a987fcb10c56a3b4 /ops/modules/auto-deploy.nix | |
parent | d052bc59531a1139e357f598f6aaabdbb346634c (diff) |
fix(auto-deploy): Add missing packages to path r/3446
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>
Diffstat (limited to 'ops/modules/auto-deploy.nix')
-rw-r--r-- | ops/modules/auto-deploy.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ops/modules/auto-deploy.nix b/ops/modules/auto-deploy.nix index 8ffc0afbc695..a90300d42c68 100644 --- a/ops/modules/auto-deploy.nix +++ b/ops/modules/auto-deploy.nix @@ -62,9 +62,11 @@ in { systemd.services.auto-deploy = { inherit description; script = "${deployScript}"; - path = [ - pkgs.bash - pkgs.git + path = with pkgs; [ + bash + git + gnutar + gzip ]; after = [ "network-online.target" ]; wants = [ "network-online.target" ]; |