check-by-name: Fix CI

Wasn't detected in https://github.com/NixOS/nixpkgs/pull/281407
This commit is contained in:
Silvan Mosberger 2024-01-17 21:25:28 +01:00
parent 0f6090448a
commit 50d57f6236

View file

@ -94,7 +94,7 @@ jobs:
- name: Fetching the pinned tool
run: |
# Get the direct /nix/store path from the pin to avoid having to evaluate Nixpkgs
toolPath=$(jq -r .ci-path pkgs/test/nixpkgs-check-by-name/scripts/pinned-tool.json)
toolPath=$(jq -r '."ci-path"' pkgs/test/nixpkgs-check-by-name/scripts/pinned-tool.json)
# This asks the substituter for the path, which should be there because Hydra will have pre-built and pushed it
nix-store --realise "$toolPath" --add-root result
- name: Running nixpkgs-check-by-name