diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-22 19:07:00 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-22 19:07:00 +0200 |
| commit | bc5dc98b233e5405ec22d7531c3c9d5fba72efe4 (patch) | |
| tree | 2cd03f08a0c808f8f411d0e21d79383d196ab978 /wscreensavers | |
| parent | 451142a0332cf9e9d3f5a257920246cda4c8ad72 (diff) | |
| download | my-slackbuilds-bc5dc98b233e5405ec22d7531c3c9d5fba72efe4.tar.gz my-slackbuilds-bc5dc98b233e5405ec22d7531c3c9d5fba72efe4.zip | |
wscreensavers: fix build picking gccgo over google-go-lang
/usr/bin/go is gccgo, which rejects go.mod's patch-level go line. Source
/etc/profile.d/go.sh so google-go-lang's toolchain comes first in PATH,
since build shells such as slackrepo's chroot never read /etc/profile.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'wscreensavers')
| -rw-r--r-- | wscreensavers/wscreensavers.SlackBuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/wscreensavers/wscreensavers.SlackBuild b/wscreensavers/wscreensavers.SlackBuild index 5526979..2dccd8b 100644 --- a/wscreensavers/wscreensavers.SlackBuild +++ b/wscreensavers/wscreensavers.SlackBuild @@ -82,6 +82,10 @@ find -L . \ # Upstream's "make build" runs "npm install"; call vite directly instead. ( cd frontend && npm_config_offline=true npm run build ) +# /usr/bin/go is gccgo (too old for go.mod); google-go-lang puts the real +# toolchain first in PATH only via profile.d, which build shells skip. +. /etc/profile.d/go.sh + # Fully offline: vendored modules only, no proxy, no toolchain download. export GOPATH="$(pwd)/.gocache" export GOPROXY=off |
