diff options
Diffstat (limited to 'dev-lang/go/files')
-rw-r--r-- | dev-lang/go/files/go-never-download-newer-toolchains.patch | 13 | ||||
-rw-r--r-- | dev-lang/go/files/go-sets.conf | 6 |
2 files changed, 16 insertions, 3 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 diff --git a/dev-lang/go/files/go-sets.conf b/dev-lang/go/files/go-sets.conf index 01ad4a8b3d4f..f38edb71a6fc 100644 --- a/dev-lang/go/files/go-sets.conf +++ b/dev-lang/go/files/go-sets.conf @@ -1,7 +1,7 @@ -# Installed packages that inherit from known Go related eclasses. +# Installed packages for which vdb *DEPEND includes dev-lang/go. # This is useful after a dev-lang/go version change to rebuild all # software written in Go. [golang-rebuild] class = portage.sets.dbapi.VariableSet -variable = INHERITED -includes = golang-base golang-build golang-vcs golang-vcs-snapshot go-module +variable = BDEPEND +includes = dev-lang/go |