diff --git a/.envrc b/.envrc index b59877d8f..bf730036e 100644 --- a/.envrc +++ b/.envrc @@ -1,11 +1,16 @@ # Reload when these files change watch_file flake.nix watch_file flake.lock watch_file nix/overlay.nix watch_file nix/dev-shell.nix if ! has nix_direnv_version || ! nix_direnv_version 2.2.1; then source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.2.1/direnvrc" "sha256-zelF0vLbEl5uaqrfIzbgNzJWGmLzCmYAkInj/LNxvKs=" fi -use flake +if ! [[ -z "$SUPPRESS_COMM_NIX_LOGGING" ]] + then + use flake &>/dev/null + else + use flake +fi