From bd68191841f0ef840fe7c204aa423bacfaab82e9 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier <boklm@torproject.org> Date: Mon, 13 Jan 2025 19:35:16 +0100 Subject: [PATCH] Bug 41345: Set GOTOOLCHAIN=local --- projects/go/build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/projects/go/build b/projects/go/build index f7c356612..4297ce075 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 ], -- GitLab