Skip to content

Commit

Permalink
github/workflows: fix Nix format check
Browse files Browse the repository at this point in the history
The new version of Nix no longer provides path to the source to the
formatter and thus alejandra uses stdin instead and thus run fails.

NixOS/nix#11438
  • Loading branch information
Cynerd authored and fvacek committed Nov 18, 2024
1 parent 266fa8a commit 28580f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,4 +199,4 @@ jobs:
- name: Flake check
run: nix --experimental-features 'nix-command flakes' flake check .
- name: Format
run: nix --experimental-features 'nix-command flakes' fmt && git diff --exit-code
run: nix --experimental-features 'nix-command flakes' fmt . && git diff --exit-code

0 comments on commit 28580f7

Please sign in to comment.