ci get_steps: explicit pkg references
This commit is contained in:
parent
eef1d7877d
commit
00ff16d540
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user