From 09d538b6201d9c94404a2ef3ff65591872c6852f Mon Sep 17 00:00:00 2001 From: Uzair Aftab <48220549+Uzaaft@users.noreply.github.com> Date: Fri, 14 Mar 2025 11:37:09 +0100 Subject: [PATCH 1/3] feat: source `.envrc.local` if it exists Co-authored-by: Kat <65649991+00-kat@users.noreply.github.com> --- .envrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.envrc b/.envrc index c57ee1c4f..c6dd415dc 100644 --- a/.envrc +++ b/.envrc @@ -4,3 +4,5 @@ if has nix; then watch_file nix/{devShell,package,wraptest}.nix use flake fi + +[ -f .envrc.local ] && source_env .envrc.local From 69dfc8870d3f145e822aabb4402b9af76b1da1e5 Mon Sep 17 00:00:00 2001 From: Uzair Aftab <48220549+Uzaaft@users.noreply.github.com> Date: Fri, 14 Mar 2025 12:00:25 +0100 Subject: [PATCH 2/3] fix: use bashism in `.envrc` Co-authored-by: Leah Amelia Chen --- .envrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.envrc b/.envrc index c6dd415dc..bb87feeb6 100644 --- a/.envrc +++ b/.envrc @@ -5,4 +5,4 @@ if has nix; then use flake fi -[ -f .envrc.local ] && source_env .envrc.local +[[ -f .envrc.local ]] && source_env .envrc.local From b9ea32b8ce0c2e5b9693f04b4d9dd14f5ba7cf21 Mon Sep 17 00:00:00 2001 From: Uzair Aftab <48220549+Uzaaft@users.noreply.github.com> Date: Fri, 14 Mar 2025 12:08:37 +0100 Subject: [PATCH 3/3] Update .envrc Co-authored-by: Kat <65649991+00-kat@users.noreply.github.com> --- .envrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.envrc b/.envrc index bb87feeb6..2ca233b93 100644 --- a/.envrc +++ b/.envrc @@ -5,4 +5,5 @@ if has nix; then use flake fi +# Source an `.envrc.local` if it exists. You can add your custom changes there. [[ -f .envrc.local ]] && source_env .envrc.local