ci/treefmt: add gitMinimal for treefmt

treefmt needs git on the PATH for its default `tree-root` calculation,
`git rev-parse --show-toplevel`

(cherry picked from commit 8d94c496e9)
This commit is contained in:
Matt Sturgeon
2026-07-07 09:16:11 +01:00
committed by github-actions[bot]
parent 92e1ff1896
commit 5e76e9dc47

View File

@@ -4,6 +4,11 @@
...
}:
{
runtimeInputs = [
# tree-root uses `git rev-parse --show-toplevel`
pkgs.gitMinimal
];
settings = {
# numtide/treefmt-nix defaults
excludes = [