diff options
| author | vkcku <[email protected]> | 2026-06-01 19:48:48 +0530 |
|---|---|---|
| committer | vkcku <[email protected]> | 2026-06-01 19:48:48 +0530 |
| commit | c1aba6053f82a95c6212edf4cd80aa3619fcdf39 (patch) | |
| tree | b1b6640da82b5710dbc3a21b29ae881bb04b196f | |
| parent | infra(plato): add bootstrap script (kind of) (diff) | |
infra: set treefmt working directory to infra
monorepo-revid: f2df0cdf43fe50b78726bb3f09570603878267bf
| -rw-r--r-- | infra/nix/devshell.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/infra/nix/devshell.nix b/infra/nix/devshell.nix index a09bb0c..316afd2 100644 --- a/infra/nix/devshell.nix +++ b/infra/nix/devshell.nix @@ -15,6 +15,10 @@ treefmt # keep-sorted end ]; + + shellHook = '' + export TREEFMT_WORKING_DIR="$("${pkgs.git}/bin/git" rev-parse --show-toplevel)/infra" + ''; }; }; } |
