Skip to content

Commit 2ccf45e

Browse files
committed
ci: Fix nix-parse workflow
The nix_path definition was missing :/
1 parent 9779ca8 commit 2ccf45e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/nix-parse.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
run: |
2020
gh api \
2121
repos/NixOS/nixpkgs/pulls/${{github.event.number}}/files --paginate \
22-
| jq '.[] | select(.status != "removed" and (.filename | endswith(".nix"))) | .filename' \
22+
| jq --raw-output '.[] | select(.status != "removed" and (.filename | endswith(".nix"))) | .filename' \
2323
> "$HOME/changed_files"
2424
if [[ -s "$HOME/changed_files" ]]; then
2525
echo "CHANGED_FILES=$HOME/changed_files" > "$GITHUB_ENV"
@@ -30,6 +30,8 @@ jobs:
3030
ref: refs/pull/${{ github.event.pull_request.number }}/merge
3131
if: ${{ env.CHANGED_FILES && env.CHANGED_FILES != '' }}
3232
- uses: cachix/install-nix-action@7ac1ec25491415c381d9b62f0657c7a028df52a7 # v24
33+
with:
34+
nix_path: nixpkgs=channel:nixpkgs-unstable
3335
- name: Parse all changed or added nix files
3436
run: |
3537
ret=0

0 commit comments

Comments
 (0)