summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2023-01-09 11:14:42 -0600
committerToby Vincent <tobyv13@gmail.com>2023-01-09 11:14:42 -0600
commitd1b6c30670ef63048f738afee34493862540d889 (patch)
treed693b95339b4a6779f00d60102a93f8706a4f0ac
parent58a04ecb9f821030ebf82e4df6c9d6b8497aed9d (diff)
fix(go): add sr.ht to GOPRIVATE
workaround for sr.ht disabling git access for the Go Module Mirror Ref: https://sourcehut.org/blog/2023-01-09-gomodulemirror
-rw-r--r--sh/.profile1
1 files changed, 1 insertions, 0 deletions
diff --git a/sh/.profile b/sh/.profile
index 19d55c5..24c35b3 100644
--- a/sh/.profile
+++ b/sh/.profile
@@ -56,6 +56,7 @@ export PATH="$PATH:$CARGO_HOME/bin"
export PYTHONSTARTUP="$XDG_CONFIG_HOME/python/startup.py"
+export GOPRIVATE=git.sr.ht
export GOPATH="$XDG_DATA_HOME/go"
export PATH="$PATH:$GOPATH/bin"