From 3d36ff4ab4293e1a24e1d7b47aa68db2cd1ce801 Mon Sep 17 00:00:00 2001 From: Michael Ross Date: Wed, 20 May 2026 10:18:19 +0100 Subject: [PATCH] fix(ci.formatting): use nixfmt --check to avoid writing to read-only nix store --- ci/checks/formatting.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ci/checks/formatting.nix b/ci/checks/formatting.nix index 3a7d0e50..95c83f87 100644 --- a/ci/checks/formatting.nix +++ b/ci/checks/formatting.nix @@ -5,8 +5,6 @@ }: pkgs.runCommand "formatting-check" { } '' - ${ - pkgs.lib.getExe self.formatter.${pkgs.stdenv.hostPlatform.system} - } --no-cache --fail-on-change ${../../.} + find ${../../.} -name "*.nix" -print0 | xargs -0 ${pkgs.lib.getExe pkgs.nixfmt} --check touch $out ''