fix(tvl-buildkite): Explicitly set runtimePackages

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
This commit is contained in:
Vincent Ambo 2021-12-10 17:16:35 +03:00 committed by clbot
parent 2ba481451c
commit 67bde5ecc3

View file

@ -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);