From c1a77e01b845bc55db8fff9ffb653ddc1397729e Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Fri, 22 Sep 2023 15:38:09 +0300 Subject: fix(ops/modules/tvl-buildkite): add /run/wrappers/bin to $PATH It looks like since cl/9341, the tvix buildkite pipeline fails. We're not yet sure what's causing it, it might be the lack of the `fusermount` binary in $PATH. Change-Id: Ie95678fbd07201e96ca3d43b53827781b49f1f46 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9386 Autosubmit: flokli Tested-by: BuildkiteCI Reviewed-by: tazjin Reviewed-by: Connor Brewster --- ops/modules/tvl-buildkite.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ops/modules/tvl-buildkite.nix') diff --git a/ops/modules/tvl-buildkite.nix b/ops/modules/tvl-buildkite.nix index 87879565542d..3c6d88404fd0 100644 --- a/ops/modules/tvl-buildkite.nix +++ b/ops/modules/tvl-buildkite.nix @@ -43,6 +43,9 @@ in tokenPath = config.age.secretsDir + "/buildkite-agent-token"; privateSshKeyPath = config.age.secretsDir + "/buildkite-private-key"; hooks.post-command = "${buildkiteHooks}/bin/post-command"; + hooks.environment = '' + export PATH=$PATH:/run/wrappers/bin + ''; runtimePackages = with pkgs; [ bash -- cgit 1.4.1