about summary refs log tree commit diff
path: root/ops/modules
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-09-22T12·38+0300
committerflokli <flokli@flokli.de>2023-09-24T19·30+0000
commitc1a77e01b845bc55db8fff9ffb653ddc1397729e (patch)
tree9311ac817f7352fc2d7383a57abcda97300e70d5 /ops/modules
parentabef229791d61a8415d6708aa9ab5853dce5ee56 (diff)
fix(ops/modules/tvl-buildkite): add /run/wrappers/bin to $PATH r/6647
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 <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Reviewed-by: Connor Brewster <cbrewster@hey.com>
Diffstat (limited to 'ops/modules')
-rw-r--r--ops/modules/tvl-buildkite.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/ops/modules/tvl-buildkite.nix b/ops/modules/tvl-buildkite.nix
index 8787956554..3c6d88404f 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