about summary refs log tree commit diff stats
path: root/templates/rust/.envrc
diff options
context:
space:
mode:
Diffstat (limited to 'templates/rust/.envrc')
-rw-r--r--templates/rust/.envrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/rust/.envrc b/templates/rust/.envrc
index a9c7e4e..77f9235 100644
--- a/templates/rust/.envrc
+++ b/templates/rust/.envrc
@@ -1,4 +1,8 @@
-use flake
+use flake || use nix
+watch_file flake.nix
+
+PATH_add ./target/
+
 if on_git_branch; then
   echo && git status --short --branch &&
   echo && git fetch --verbose