From 8b6d5c3e3760e3b7ac36b60ec148bb5c7a9daaac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 18 Nov 2024 19:26:55 +0100 Subject: [PATCH] github/workflows: fix Nix format check 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. https://github.com/NixOS/nix/pull/11438 --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 69d37621..8fef10f0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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