From 33ebda5633a5dd8cba3189338ea641d01973ac3e Mon Sep 17 00:00:00 2001 From: Denys Pavlov Date: Sat, 16 Dec 2023 12:58:17 -0500 Subject: [PATCH] nix: teach direnv about flake.nix imports direnv now watches flake.nix dependencies in `nix/`, reloading the environment on any changes. --- .envrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.envrc b/.envrc index 7ee2b88b4..c57ee1c4f 100644 --- a/.envrc +++ b/.envrc @@ -1,5 +1,6 @@ # If we are a computer with nix-shell available, then use that to setup # the build environment with exactly what we need. if has nix; then + watch_file nix/{devShell,package,wraptest}.nix use flake fi