Add support for a .local.envrc file

As this is useful when setting custom configuration.
This commit is contained in:
Christopher Baines 2019-09-21 11:28:24 +01:00
parent 6a9f11fb94
commit aecd23d599
2 changed files with 6 additions and 0 deletions

4
.envrc
View File

@ -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

2
.gitignore vendored
View File

@ -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