[object Object]

← back to Exo

nix: put treefmt in devshell

18c4e49f913bc29665f1393c00a0fe200499e091 · 2026-01-09 16:10:36 +0000 · Jake Hillion

treefmt is a useful to be able to access directly for some formatters like
`jj fix`. Expose it in the devshell.

Test plan:
- Used with `jj fix` on a large branch. It worked.

Files touched

Diff

commit 18c4e49f913bc29665f1393c00a0fe200499e091
Author: Jake Hillion <jake@hillion.co.uk>
Date:   Fri Jan 9 16:10:36 2026 +0000

    nix: put treefmt in devshell
    
    treefmt is a useful to be able to access directly for some formatters like
    `jj fix`. Expose it in the devshell.
    
    Test plan:
    - Used with `jj fix` on a large branch. It worked.
---
 flake.nix | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/flake.nix b/flake.nix
index e9ae54ca..f405aea7 100644
--- a/flake.nix
+++ b/flake.nix
@@ -73,6 +73,9 @@
           packages =
             with pkgs;
             [
+              # FORMATTING
+              treefmtEval.config.build.wrapper
+
               # PYTHON
               python313
               uv

← d85b5d37 feat: uninstall button (#1077)  ·  back to Exo  ·  Add a basic documentation to the api interface (#1122) b74a6105 →