don't warn about dirty trees

It's to be expected in a git repository that our environment will
contain non-committed code. No need to warn about that.
This commit is contained in:
Jörg Thalheim 2025-01-16 20:43:32 +01:00
parent 0357fa09ff
commit 287f331749

View file

@ -32,7 +32,7 @@ _nix_direnv_error() { log_error "${_NIX_DIRENV_LOG_PREFIX}$*"; }
_nix_direnv_nix=""
_nix() {
${_nix_direnv_nix} --extra-experimental-features "nix-command flakes" "$@"
${_nix_direnv_nix} --no-warn-dirty --extra-experimental-features "nix-command flakes" "$@"
}
_require_version() {