1
0

.envrc 442 B

12345678910
  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. watch_file flake.nix
  5. watch_file flake.lock
  6. if ! use flake . --no-pure-eval
  7. then
  8. 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
  9. fi