From 7ea212ee0735c3ee44e577bf5f9baa745fa97286 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Sun, 26 Dec 2021 16:08:50 -0500 Subject: 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 Reviewed-by: wpcarro --- ops/modules/auto-deploy.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'ops') 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" ]; -- cgit 1.4.1