From ace802118ec74c348a762456d2ae433ca4cfde91 Mon Sep 17 00:00:00 2001 From: ulic-youthlic Date: Thu, 15 May 2025 00:23:50 +0800 Subject: [PATCH] Add watch_file direction to .envrc Add `watch_file flake.lock rust-toolchain` in .envrc, because direnv re-eval devShell only at the change of flake.nix by default. After this patch, direnv also re-eval when flake.lock/rust-toolchain changed. --- .envrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.envrc b/.envrc index 3550a30f2..71bc7e64f 100644 --- a/.envrc +++ b/.envrc @@ -1 +1,3 @@ +watch_file flake.lock rust-toolchain + use flake