fix: suppress git dirty warnings in direnv skill loading

Add --option warn-dirty false to nix build call to prevent
repeated 'Git tree is dirty' warnings when loading skills.
This commit is contained in:
dan 2026-01-25 22:43:23 -08:00
parent 80448bd612
commit def4b8a7dc

View file

@ -32,7 +32,7 @@ use_skill() {
local skill="$1"
local out
out=$(nix build --print-out-paths --no-link "${SKILLS_REPO}#${skill}") || {
out=$(nix build --option warn-dirty false --print-out-paths --no-link "${SKILLS_REPO}#${skill}") || {
echo "use_skill: failed to build ${skill}" >&2
return 1
}