From 5a7664418c7442b6832631e3775d928fdb3349f4 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Wed, 4 May 2022 16:28:54 -0400 Subject: [PATCH] Update README to state treefmt --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index aef09a8..60e8be9 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ git add . && git commit -m rename ## Tips - Run `nix flake update` to update all flake inputs. nixpkgs is pinned to a specific a rev in `flake.nix`, which you can advance to the latest rev reported in [status.nixos.org](https://status.nixos.org). -- Run `nix run .#format` to autoformat the project. +- Run `treefmt` in nix shell to autoformat the project. This uses [treefmt](https://github.com/numtide/treefmt), which uses `./treefmt.toml` (where fourmolu and nixpkgs-fmt are specified). ## Alternatives