From 20d4ccf58774194a97d3a57d96067b5dfc552803 Mon Sep 17 00:00:00 2001 From: Patrick C <3180910+therealpxc@users.noreply.github.com> Date: Tue, 23 Jul 2024 11:52:45 -0700 Subject: [PATCH] make flake-parts .envrc match .nix and .lock files --- templates/flake-parts/.envrc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/templates/flake-parts/.envrc b/templates/flake-parts/.envrc index 9a651c991..2e269e0e8 100644 --- a/templates/flake-parts/.envrc +++ b/templates/flake-parts/.envrc @@ -2,9 +2,8 @@ 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 -nix_direnv_watch_file devenv.nix -nix_direnv_watch_file devenv.lock -nix_direnv_watch_file devenv.yaml +nix_direnv_watch_file flake.nix +nix_direnv_watch_file flake.lock if ! use flake . --override-input devenv-root "file+file://"<(printf %s "$PWD") then