blob: dd2752c9995122d74a4723f169f169edc828cb31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
if type lorri &>/dev/null; then
echo "direnv: using lorri from PATH ($(type -p lorri))"
eval "$(lorri direnv)"
else
# fall back to using direnv's builtin nix support
# to prevent bootstrapping problems.
use nix
NIX_ENFORCE_PURITY=0
fi
# source an additional user-specific .envrc in ./.envrc-local
if [ -e .envrc-local ]; then
source .envrc-local
fi
|