about summary refs log tree commit diff
path: root/.envrc
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2019-11-25T16·46+0100
committerFlorian Klink <flokli@flokli.de>2019-11-25T16·48+0100
commit3898495d56f1a2f2e92bf5a9a1e88cb5a2689498 (patch)
treee1fbe1dd3b66a20d59252fb04d47b9bf5103987f /.envrc
parent16e197b154bcf014df5b82025f9d37d511f88e3a (diff)
.envrc: enable go modules
Diffstat (limited to '.envrc')
-rw-r--r--.envrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.envrc b/.envrc
index 211e0d451c4e..90cf1bb145ab 100644
--- a/.envrc
+++ b/.envrc
@@ -9,5 +9,9 @@ else
     use nix
 fi
 
+# enable go modules
+export GO111MODULE=on
+unset GOPATH
+
 # Load private overrides
 [[ -f .envrc.private ]] && source_env .envrc.private