2
0
Fork 0
mirror of git://git.savannah.gnu.org/guix/data-service.git synced 2023-12-14 03:23:03 +01:00
data-service/.envrc
Christopher Baines a03e1601de Improve handling of errors
Adjust the previously unused error page code, and start to use it. Only show
the error if configured to do so, to avoid leaking secret information.
2020-03-14 12:46:02 +00:00

16 lines
434 B
Plaintext

# Unset the Guile paths to avoid mixing Guile major versions
export GUILE_LOAD_PATH=""
export GUILE_LOAD_COMPILED_PATH=""
use guix -l guix-dev.scm --ad-hoc postgresql
export GUILE_LOAD_COMPILED_PATH="$PWD:$PWD/tests:$GUILE_LOAD_COMPILED_PATH"
export GUILE_LOAD_PATH="$PWD:$GUILE_LOAD_PATH"
export PATH="$PWD/scripts:$PATH"
export GUIX_DATA_SERVICE_SHOW_ERROR_DETAILS=true
if [ -f .local.envrc ]; then
source_env .local.envrc
fi