From 28e69f09fcb697445a506f4d6aa662f614a5d642 Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Tue, 4 Mar 2025 11:31:16 -0500 Subject: [PATCH] direnv: Watch changes to default.nix Now that the package definition lives in default.nix we need direnv to watch that file to get automatic reloads. --- .envrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.envrc b/.envrc index 935a201a245f..7ddb34ddbc86 100644 --- a/.envrc +++ b/.envrc @@ -1,7 +1,8 @@ watch_file shell.nix +watch_file default.nix watch_file flake.lock watch_file rust-toolchain.toml # try to use flakes, if it fails use normal nix (ie. shell.nix) use flake || use nix -eval "$shellHook" \ No newline at end of file +eval "$shellHook"