about summary refs log blame commit diff
path: root/.envrc
blob: 211e0d451c4e91039a256616f2a05a20d5a49210 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                           
# This configures [direnv](https://direnv.net/) if installed and enabled to
# automatically enter the nix-shell defined in `shell.nix`,
# either by using lorri if available, or nix-shell otherwise.

if type lorri &>/dev/null; then
    eval "$(lorri direnv)"
else
    # fall back to using direnv's builtin nix support (blocking)
    use nix
fi

# Load private overrides
[[ -f .envrc.private ]] && source_env .envrc.private