aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaul Benencia <rul@kalgan.cc>2022-06-06 09:32:45 -0700
committerRaul Benencia <rul@kalgan.cc>2022-06-06 09:32:59 -0700
commit25f7f65b382093bdafc0ec4a3858ffc287da6b55 (patch)
treed6c0ac7e0edc6e0335c5721b0901f94fe814caa3
parent8c5138f425572ccd1053e5b8be44c69e32c6e26e (diff)
env: test for local Go installation
-rw-r--r--.environment.d/00-languages5
1 files changed, 5 insertions, 0 deletions
diff --git a/.environment.d/00-languages b/.environment.d/00-languages
index 0d7b3ca..fcc4565 100644
--- a/.environment.d/00-languages
+++ b/.environment.d/00-languages
@@ -12,4 +12,9 @@ if [ -d "$HOME/.cargo/bin" ]; then
PATH="$HOME/.cargo/bin:$PATH"
fi
+# Local Go installation
+if [ -d "/usr/local/go/bin" ]; then
+ PATH="/usr/local/go/bin:$PATH"
+fi
+
RUST_SRC_PATH="$HOME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/"
nihil fit ex nihilo