tests.nixpkgs-check-by-name: More reliable .envrc reloading

See also https://github.com/nix-community/nix-direnv/issues/408 and https://github.com/nix-community/nix-direnv/pull/407
This commit is contained in:
Silvan Mosberger 2023-11-18 04:54:05 +01:00
parent d9c118dd42
commit def5df923f

View File

@ -1 +1,7 @@
if has nix_direnv_watch_file; then
nix_direnv_watch_file default.nix shell.nix
else
watch_file default.nix shell.nix
fi
use nix