fix: use `watch_file` in `.envrc` (#2343)

`nix_direnv_watch_file` is deprecated and appears to have been removed
from some `direnv` distributions.
diff --git a/.envrc b/.envrc
index 650c81c..edea46f 100644
--- a/.envrc
+++ b/.envrc
@@ -6,5 +6,5 @@
 #  - https://marketplace.visualstudio.com/items?itemName=mkhl.direnv
 
 # Use `path:` syntax to avoid copying the entire repo to the Nix Store.
-nix_direnv_watch_file ./nix/flake.nix
+watch_file ./nix/flake.nix
 use flake path:./nix