diff --git a/.envrc b/.envrc index 3e1a0e5c68..1d49d232ce 100644 --- a/.envrc +++ b/.envrc @@ -5,7 +5,7 @@ # or any of the `default.nix` files change. We do this by adding all these files # to the nix store and using the store paths as a cache key. -nix_files=$(find . -name default.nix | grep -v '^./nix' | grep -v '^./dist-newstyle') +nix_files=$(find . -name '*.nix' | grep -v '^./dist-newstyle') for nix_file in $nix_files; do watch_file "$nix_file" done