5 stage go bootstrap, clamav

This commit is contained in:
2026-02-19 15:55:10 +01:00
parent 2f35f407c6
commit e9b5a0084c
13 changed files with 125 additions and 4 deletions

13
packages/go.shrap Normal file
View File

@@ -0,0 +1,13 @@
(package
(name "go")
(version "1.25.7")
(homepage "https://go.dev/")
(dependencies go-1.23)
(src (tar
(url "https://go.dev/dl/go1.25.7.src.tar.gz")
(dir "go/src")
(blake3 "281e7a2761668766c6cbafbf2937f71fa489e3160eeb6a124d7df367c8226631")))
(build
(shell "GOROOT_BOOTSTRAP=/opt/go GOROOT_FINAL=/opt/go ./make.bash")
(shell "rm -rf /opt/go || true")
(shell "cd ../.. && mv go /opt/ && ln -sf /opt/go/bin/go /usr/bin/go || true")))