From a4ee65cba14b28afa8bc355936282cec1b6d706e Mon Sep 17 00:00:00 2001 From: lucasew Date: Tue, 25 Aug 2026 11:30:03 -0300 Subject: [PATCH] CONTRIBUTING: list nix fmt first among formatter commands Put the simplest command first so new contributors are less likely to reach for nix-shell or nix develop by default. Assisted-by: Grok Build (xAI Grok 4.6) --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6e56cc1a792c..3967caa1bf4b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -587,9 +587,9 @@ CI [enforces](./.github/workflows/lint.yml) all Nix files to be formatted using You can ensure this locally using either of these commands: ``` -nix-shell --run treefmt -nix develop --command treefmt nix fmt +nix develop --command treefmt +nix-shell --run treefmt ``` If you're starting your editor in `nix-shell` or `nix develop`, you can also set it up to automatically run `treefmt` on save.