summaryrefslogtreecommitdiff
path: root/dev-lang/go/files/go-never-download-newer-toolchains.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/go/files/go-never-download-newer-toolchains.patch')
-rw-r--r--dev-lang/go/files/go-never-download-newer-toolchains.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-lang/go/files/go-never-download-newer-toolchains.patch b/dev-lang/go/files/go-never-download-newer-toolchains.patch
new file mode 100644
index 000000000000..74e85f80b63a
--- /dev/null
+++ b/dev-lang/go/files/go-never-download-newer-toolchains.patch
@@ -0,0 +1,13 @@
+diff --git a/go.env b/go.env
+index 6ff2b921d4..1112a19c9b 100644
+--- a/go.env
++++ b/go.env
+@@ -7,6 +7,6 @@
+ GOPROXY=https://proxy.golang.org,direct
+ GOSUMDB=sum.golang.org
+
+-# Automatically download newer toolchains as directed by go.mod files.
++# Never download newer toolchains.
+ # See https://go.dev/doc/toolchain for details.
+-GOTOOLCHAIN=auto
++GOTOOLCHAIN=local