/ .envrc
.envrc
 1  if ! has nix_direnv_version || ! nix_direnv_version 2.2.1; then
 2    source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.2.1/direnvrc" "sha256-zelF0vLbEl5uaqrfIzbgNzJWGmLzCmYAkInj/LNxvKs="
 3  fi
 4  
 5  watch_file flake.nix
 6  watch_file flake.lock
 7  if ! use flake . --impure
 8  then
 9    echo "devenv could not be built. The devenv environment was not loaded. Make the necessary changes to devenv.nix and hit enter to try again." >&2
10  fi