ci: fix CI checking Nix formatting

`nix fmt` by itself tries to read stdin,
not `flake.nix`.
This commit is contained in:
link2xt
2025-10-01 05:47:42 +00:00
committed by l
parent 3cd4152a3c
commit df2c35b551

View File

@@ -24,10 +24,7 @@ jobs:
show-progress: false
persist-credentials: false
- uses: DeterminateSystems/nix-installer-action@main
- run: nix fmt
# Check that formatting does not change anything.
- run: git diff --exit-code
- run: nix fmt flake.nix -- --check
build:
name: nix build