about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-12-10T14·16+0300
committerclbot <clbot@tvl.fyi>2021-12-10T15·06+0000
commit67bde5ecc3e03e1483039bf697bedd179fef617e (patch)
tree16209ca434087e401e84e74a32795d3f05e73c60
parent2ba481451c543d0d0d49edac9368b1d30fd68ac9 (diff)
fix(tvl-buildkite): Explicitly set runtimePackages r/3190
It turns out the lib.mkAfter call doesn't behave as expected -
only *some* of the packages that are defaulted end up in the $PATH.

I suspect this is actually something else, e.g. these packages are
always added for some reason or another, and the option is completely
overridden every time.

Change-Id: I854c7198520d82b00e6338ed0fe653836226dc6d
-rw-r--r--ops/modules/tvl-buildkite.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/ops/modules/tvl-buildkite.nix b/ops/modules/tvl-buildkite.nix
index b23491338977..862786d79e56 100644
--- a/ops/modules/tvl-buildkite.nix
+++ b/ops/modules/tvl-buildkite.nix
@@ -36,9 +36,13 @@ in {
         tokenPath = "/run/agenix/buildkite-agent-token";
         hooks.post-command = "${buildkiteHooks}/bin/post-command";
 
-        runtimePackages = with pkgs; lib.mkAfter [
+        runtimePackages = with pkgs; [
+          bash
+          coreutils
           curl
+          git
           jq
+          nix
         ];
       };
     }) agents);