diff options
author | Christopher Baines <mail@cbaines.net> | 2019-09-21 11:28:24 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2019-09-21 11:28:24 +0100 |
commit | aecd23d599e882e0b6650a2d00e3159f9785b034 (patch) | |
tree | 375d7e15ea5fa16a00f9020e4af9a36a582d34ec | |
parent | 6a9f11fb94fbfd969396dd4d9f768a0c9ec67734 (diff) | |
download | data-service-aecd23d599e882e0b6650a2d00e3159f9785b034.tar data-service-aecd23d599e882e0b6650a2d00e3159f9785b034.tar.gz |
Add support for a .local.envrc file
As this is useful when setting custom configuration.
-rw-r--r-- | .envrc | 4 | ||||
-rw-r--r-- | .gitignore | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -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 @@ -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 |