New comment by pascal-huber on void-packages repository https://github.com/void-linux/void-packages/pull/41754#issuecomment-1400166673 Comment: Maybe some clarification: @lemmi expressed some objections on IRC regarding overriding the default `do_build` because there could be issues for cross builds. However, I could not get it to compile with `go mod`/`go install` as in the go build style. The upstream way is to use the Makefile (which sets some variables and runs `go build`). From what I can see, the `go` build style takes care of the necessary variables (most importantly `GOARCH`).