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-1.19.shrap Normal file
View File

@@ -0,0 +1,13 @@
(package
(name "go-1.19")
(version "1.19")
(homepage "https://go.dev/")
(dependencies go-1.4)
(src (tar
(url "https://go.dev/dl/go1.19.src.tar.gz")
(dir "go/src")
(blake3 "4eb334d36c9fb17148b17f0a83cde8bc1eb425c0c2c83a7a1c9f4f09ce201b7f")))
(build
(shell "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")))