chore: add .envrc

This commit is contained in:
Adriano Caloiaro 2025-09-22 09:15:47 -07:00
parent e5892bd8c2
commit 964ba901a6
No known key found for this signature in database
GPG key ID: C2BC56DE73CE3F75
2 changed files with 11 additions and 1 deletions

11
.envrc Normal file
View file

@ -0,0 +1,11 @@
if ! has nix_direnv_version || ! nix_direnv_version 2.2.1; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.2.1/direnvrc" "sha256-zelF0vLbEl5uaqrfIzbgNzJWGmLzCmYAkInj/LNxvKs="
fi
watch_file flake.nix
watch_file flake.lock
if ! use flake . --impure
then
echo "devenv could not be built. The devenv environment was not loaded." >&2
fi

1
.gitignore vendored
View file

@ -1,6 +1,5 @@
/dist /dist
result result
.direnv/ .direnv/
.envrc
.devenv .devenv
.pre-commit-config.yaml .pre-commit-config.yaml