From 2628efee7111398e3ba1e7ba3cff00f580fe554b Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Fri, 16 May 2025 04:06:45 +0100 Subject: [PATCH] flake/devshell: add treefmt to shell --- flake/dev/devshell.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flake/dev/devshell.nix b/flake/dev/devshell.nix index 7666c935..3477df31 100644 --- a/flake/dev/devshell.nix +++ b/flake/dev/devshell.nix @@ -16,6 +16,10 @@ devshells.default = { devshell.startup.pre-commit.text = config.pre-commit.installationScript; + devshell.packages = [ + config.formatter + ]; + commands = let # Thanks to this, the user can choose to use `nix-output-monitor` (`nom`) instead of plain `nix`