aboutsummaryrefslogtreecommitdiffstats
path: root/wscreensavers/wscreensavers.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'wscreensavers/wscreensavers.SlackBuild')
-rw-r--r--wscreensavers/wscreensavers.SlackBuild4
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