There is an updated pull request by hazen2215 against master on the void-packages repository https://github.com/hazen2215/void-packages XBPS_GOPROXY https://github.com/void-linux/void-packages/pull/43668 [RFC] optionally set GOPROXY, GOSUMDB when building go packages - I tested the changes in this PR: **YES** This will allow xbps-src to set environment variable `GOPROXY` and `GOSUMDB` when building go packages. When `GOPROXY` is set to `direct`, it pulls modules from source repositories like github and `git` needs to be in `hostmakedepends`. A patch file from https://github.com/void-linux/void-packages/pull/43668.patch is attached