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 committed Nov 18, 2024
1 parent 159b59b commit 8b6d5c3
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 8b6d5c3

Please sign in to comment.