diff --git a/projects/go/build b/projects/go/build index f7c35661292321928c5d2cd5c935c43ddf6760eb..4297ce07564a7ad7a2146262ef905f9f55c1d482 100644 --- a/projects/go/build +++ b/projects/go/build @@ -51,6 +51,10 @@ cd /var/tmp/dist/go/src # so remove it to preserve reproducibility of the output. rm -rf /var/tmp/dist/go/pkg/obj/go-build/ +# Disable go autoupdates (tor-browser-build#41345) +# See https://go.dev/doc/toolchain +sed -i -e 's/^GOTOOLCHAIN=.*/GOTOOLCHAIN=local/' /var/tmp/dist/go/go.env + cd /var/tmp/dist [% c('tar', { tar_src => [ project ],