From 287f331749f7e4cbf1e29d2365b86f4b1e351a50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Thu, 16 Jan 2025 20:43:32 +0100 Subject: [PATCH] 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. --- direnvrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direnvrc b/direnvrc index c3b7268..5e214a8 100644 --- a/direnvrc +++ b/direnvrc @@ -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() {