From 8d94c496e9f9e0dd95c1f209e3c4cffdbcf7250b Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Tue, 7 Jul 2026 09:16:11 +0100 Subject: [PATCH] ci/treefmt: add `gitMinimal` for `treefmt` treefmt needs git on the PATH for its default `tree-root` calculation, `git rev-parse --show-toplevel` --- ci/treefmt.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ci/treefmt.nix b/ci/treefmt.nix index 29419056dd77..a0d4ffbc1ef2 100644 --- a/ci/treefmt.nix +++ b/ci/treefmt.nix @@ -4,6 +4,11 @@ ... }: { + runtimeInputs = [ + # tree-root uses `git rev-parse --show-toplevel` + pkgs.gitMinimal + ]; + settings = { # numtide/treefmt-nix defaults excludes = [