1 2 3 4 5 6
watch_file shell.nix watch_file flake.lock # try to use flakes, if it fails use normal nix (ie. shell.nix) use flake || use nix eval "$shellHook"