mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
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:
committed by
github-actions[bot]
parent
92e1ff1896
commit
5e76e9dc47
@@ -4,6 +4,11 @@
|
||||
...
|
||||
}:
|
||||
{
|
||||
runtimeInputs = [
|
||||
# tree-root uses `git rev-parse --show-toplevel`
|
||||
pkgs.gitMinimal
|
||||
];
|
||||
|
||||
settings = {
|
||||
# numtide/treefmt-nix defaults
|
||||
excludes = [
|
||||
|
||||
Reference in New Issue
Block a user