tvl-depot/third_party/gerrit-queue/.envrc
Vincent Ambo 59f97332b3 subtree(3p/gerrit-queue): Vendor at commit '24f5a642'
Imported from github/tvlfyi/gerrit-queue, originally from
github/tweag/gerrit-queue but that upstream is unmaintained.

git-subtree-dir: third_party/gerrit-queue
git-subtree-mainline: ff10b7ab83
git-subtree-split: 24f5a642af
Change-Id: I307cc38185ab9e25eb102c95096298a150ae13a2
2021-12-09 16:13:56 +03:00

17 lines
478 B
Bash

# 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
# enable go modules
export GO111MODULE=on
unset GOPATH
# Load private overrides
[[ -f .envrc.private ]] && source_env .envrc.private