Skip to content

Commit

Permalink
don't warn about dirty trees
Browse files Browse the repository at this point in the history
It's to be expected in a git repository that our environment will
contain non-committed code. No need to warn about that.
  • Loading branch information
Mic92 committed Jan 16, 2025
1 parent 0357fa0 commit 287f331
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion direnvrc
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 287f331

Please sign in to comment.