utils: go-mod-vendor: Always use system Go toolchain.

* modules/rosenthal/utils/download.scm (go-mod-vendor): Set environment
variable GOTOOLCHAIN to local.
This commit is contained in:
Hilton Chain 2025-08-12 22:21:20 +08:00
parent 3386c9a43d
commit 67ca18a5cf
No known key found for this signature in database
GPG Key ID: ACC66D09CA528292

View File

@ -31,6 +31,8 @@
;; For HTTPS support.
(setenv "SSL_CERT_DIR" #+(file-append nss-certs "/etc/ssl/certs"))
(setenv "GOTOOLCHAIN" "local")
((assoc-ref %standard-phases 'unpack) #:source #+src)
(invoke #+(file-append go "/bin/go") "mod" "vendor")
(copy-recursively "vendor" #$output)))