feat: source local .envrc if it exists (#6715)

pull/6743/head
Leah Amelia Chen 2025-03-14 12:14:19 +01:00 committed by GitHub
commit 4ab3754a59
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

3
.envrc
View File

@ -4,3 +4,6 @@ if has nix; then
watch_file nix/{devShell,package,wraptest}.nix
use flake
fi
# Source an `.envrc.local` if it exists. You can add your custom changes there.
[[ -f .envrc.local ]] && source_env .envrc.local