From fefd6b817284060c3c5c5e33313c4100e7b505ea Mon Sep 17 00:00:00 2001 From: Jashandeep Sohi Date: Tue, 11 Feb 2025 16:24:09 -0800 Subject: [PATCH] Update nix-direnv to 3.0.6 --- templates/flake-parts/.envrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/flake-parts/.envrc b/templates/flake-parts/.envrc index 70ce5295f..f829fbc27 100644 --- a/templates/flake-parts/.envrc +++ b/templates/flake-parts/.envrc @@ -1,9 +1,9 @@ -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=" +if ! has nix_direnv_version || ! nix_direnv_version 3.0.6; then + source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.6/direnvrc" "sha256-RYcUJaRMf8oF5LznDrlCXbkOQrywm0HDv1VjYGaJGdM=" fi -nix_direnv_watch_file flake.nix -nix_direnv_watch_file flake.lock +watch_file flake.nix +watch_file flake.lock DEVENV_ROOT_FILE="$(mktemp)" printf %s "$PWD" > "$DEVENV_ROOT_FILE"