From 297a08510894822ddd93ee2cfc66d6ac65a3cebb Mon Sep 17 00:00:00 2001 From: Benjamin Saunders Date: Thu, 8 Jan 2026 18:44:57 -0800 Subject: [PATCH] PULL_REQUEST_TEMPLATE: update treefmt shell Previously, following these instructions lead to a failure with: Error: failed to create composite formatter: failed to initialise formatter nixf-diagnose: formatter command not found in PATH: error looking up 'nixf-diagnose' --- .github/PULL_REQUEST_TEMPLATE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 2bdab09b8..44c00b75e 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -22,7 +22,7 @@ Also make sure to read the guidelines found at - [ ] Change is backwards compatible. - [ ] Code formatted with `nix fmt` or - `nix-shell -p treefmt nixfmt deadnix keep-sorted --run treefmt`. + `nix-shell -p treefmt nixfmt deadnix keep-sorted nixf-diagnose --run treefmt`. - [ ] Code tested through `nix run .#tests -- test-all` or `nix-shell --pure tests -A run.all`.