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 committed 2025-08-17 23:59:05 +08:00
1 parent 3386c9a43d
commit 67ca18a5cf
1 file changed
+2
+2
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)))