aboutsummaryrefslogtreecommitdiff
path: root/.envrc
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-03-25 19:43:00 +0100
committerChristopher Baines <mail@cbaines.net>2018-04-03 21:57:01 +0100
commit2492ba24adbad734329838307255eb006711cdf9 (patch)
treeef41f96aafd31ba8940e9fc7622f1e59745840a5 /.envrc
parent3960493badf10237da7cea1a7d34571dd2bc72d6 (diff)
downloadgovuk-mini-environment-admin-2492ba24adbad734329838307255eb006711cdf9.tar
govuk-mini-environment-admin-2492ba24adbad734329838307255eb006711cdf9.tar.gz
Refactor the .envrc
Remove out the specific details in to .local.envrc, to remove the system specific filenames from the file.
Diffstat (limited to '.envrc')
-rw-r--r--.envrc16
1 files changed, 2 insertions, 14 deletions
diff --git a/.envrc b/.envrc
index b28de10..2e58351 100644
--- a/.envrc
+++ b/.envrc
@@ -1,17 +1,5 @@
-
-# To avoid $XDG_CONFIG_HOME/guix/latest from being used
-export GUIX_UNINSTALLED="true"
-
-GOVUK_GUIX_PATH="$(readlink -f "$PWD/../govuk-guix-wip-ruby/.guix-package-path")"
-GNU_GUIX_PATH="$(readlink -f "$PWD/../../../Guix/guix-rails-and-terraform")"
-
-export GUILE_LOAD_PATH="$GOVUK_GUIX_PATH:$GNU_GUIX_PATH"
-export GUILE_LOAD_COMPILED_PATH="$GNU_GUIX_PATH"
-
-export GUIX_PACKAGE_PATH="$GUILE_LOAD_PATH"
-
-use guix --keep-failed --fallback -l guix.scm
-
if [ -f .local.envrc ]; then
source_env .local.envrc
fi
+
+use guix --keep-failed --fallback -l guix.scm