1 2 3 4 5 6 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