From cbba7bab19d21a95f0ce940259ca6e3a6c244535 Mon Sep 17 00:00:00 2001 From: link2xt Date: Wed, 1 Oct 2025 05:47:42 +0000 Subject: [PATCH] ci: fix CI checking Nix formatting `nix fmt` by itself tries to read stdin, not `flake.nix`. --- .github/workflows/nix.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index 641d82c354..ee8805b204 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -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