From aecd23d599e882e0b6650a2d00e3159f9785b034 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sat, 21 Sep 2019 11:28:24 +0100 Subject: [PATCH] Add support for a .local.envrc file As this is useful when setting custom configuration. --- .envrc | 4 ++++ .gitignore | 2 ++ 2 files changed, 6 insertions(+) diff --git a/.envrc b/.envrc index b3c4959..1ace49a 100644 --- a/.envrc +++ b/.envrc @@ -3,3 +3,7 @@ use guix -l guix-dev.scm --ad-hoc postgresql export GUILE_LOAD_COMPILED_PATH="$PWD:$GUILE_LOAD_COMPILED_PATH" export GUILE_LOAD_PATH="$PWD:$GUILE_LOAD_PATH" export PATH="$PWD/scripts:$PATH" + +if [ -f .local.envrc ]; then + source_env .local.envrc +fi diff --git a/.gitignore b/.gitignore index 77ade4b..1a73968 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,5 @@ scripts/guix-data-service-process-jobs scripts/guix-data-service-query-build-servers scripts/guix-data-service-process-branch-updated-email pre-inst-env + +.local.envrc