summaryrefslogtreecommitdiffstats
path: root/krebs/3modules
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-11-27 20:38:59 +0100
committerlassulus <lassulus@lassul.us>2018-11-27 20:38:59 +0100
commit00ff16d540721a5ae605cb753c7d874b44307c22 (patch)
tree03d5f08655ca559f9ac2eb91fe7c120634ac9521 /krebs/3modules
parenteef1d7877defd7c310dc20f62bf96c7b8f408044 (diff)
ci get_steps: explicit pkg references
Diffstat (limited to 'krebs/3modules')
-rw-r--r--krebs/3modules/ci.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/krebs/3modules/ci.nix b/krebs/3modules/ci.nix
index d8d0e7f3d..bbc58361d 100644
--- a/krebs/3modules/ci.nix
+++ b/krebs/3modules/ci.nix
@@ -27,9 +27,9 @@ let
hostname = config.networking.hostName;
getJobs = pkgs.writeDash "get_jobs" ''
set -efu
- nix-build --no-out-link --quiet -Q ./ci.nix > /dev/null
- js="$(nix-instantiate --quiet -Q --eval --strict --json ./ci.nix)"
- echo "$js" | jq -r 'to_entries[] | [.key, .value] | @tsv' \
+ ${pkgs.nix}/bin/nix-build --no-out-link --quiet -Q ./ci.nix > /dev/null
+ js="$(${pkgs.nix}/bin/nix-instantiate --quiet -Q --eval --strict --json ./ci.nix)"
+ echo "$js" | ${pkgs.jq}/bin/jq -r 'to_entries[] | [.key, .value] | @tsv' \
| while read -r host builder; do
gcroot=${shell.escape profileRoot}/$host-builder
${pkgs.nix}/bin/nix-env -p "$gcroot" --set "$builder"