mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2025-09-18 12:44:37 +00:00
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:
parent
3386c9a43d
commit
67ca18a5cf
@ -31,6 +31,8 @@
|
|||||||
;; For HTTPS support.
|
;; For HTTPS support.
|
||||||
(setenv "SSL_CERT_DIR" #+(file-append nss-certs "/etc/ssl/certs"))
|
(setenv "SSL_CERT_DIR" #+(file-append nss-certs "/etc/ssl/certs"))
|
||||||
|
|
||||||
|
(setenv "GOTOOLCHAIN" "local")
|
||||||
|
|
||||||
((assoc-ref %standard-phases 'unpack) #:source #+src)
|
((assoc-ref %standard-phases 'unpack) #:source #+src)
|
||||||
(invoke #+(file-append go "/bin/go") "mod" "vendor")
|
(invoke #+(file-append go "/bin/go") "mod" "vendor")
|
||||||
(copy-recursively "vendor" #$output)))
|
(copy-recursively "vendor" #$output)))
|
||||||
|
Loading…
Reference in New Issue
Block a user