aboutsummaryrefslogtreecommitdiff
path: root/.envrc
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-09-21 11:28:24 +0100
committerChristopher Baines <mail@cbaines.net>2019-09-21 11:28:24 +0100
commitaecd23d599e882e0b6650a2d00e3159f9785b034 (patch)
tree375d7e15ea5fa16a00f9020e4af9a36a582d34ec /.envrc
parent6a9f11fb94fbfd969396dd4d9f768a0c9ec67734 (diff)
downloaddata-service-aecd23d599e882e0b6650a2d00e3159f9785b034.tar
data-service-aecd23d599e882e0b6650a2d00e3159f9785b034.tar.gz
Add support for a .local.envrc file
As this is useful when setting custom configuration.
Diffstat (limited to '.envrc')
-rw-r--r--.envrc4
1 files changed, 4 insertions, 0 deletions
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