about summary refs log tree commit diff
path: root/.envrc
diff options
context:
space:
mode:
Diffstat (limited to '.envrc')
-rw-r--r--.envrc20
1 files changed, 4 insertions, 16 deletions
diff --git a/.envrc b/.envrc
index 90cf1bb145ab..162f060fc4ab 100644
--- a/.envrc
+++ b/.envrc
@@ -1,17 +1,5 @@
-# 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.
+# Configure the local PATH to contain tools which are fetched ad-hoc
+# from Nix.
 
-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
+export PATH="${PWD}/bin:${PATH}"
+export REPO_ROOT="${PWD}"