There's a closed pull request on the void-packages repository common/build-style: check if go_import_path matches go.mod. https://github.com/void-linux/void-packages/pull/28895 Description: Without this check, calling `go install` with a wrong go_import_path might end up downloading the source code for said package (using git, for example), instead of building from the provided tarball. The first line of go.mod should be "module $go_import_path" for Go to not try and download source code instead of using what it has locally. Fixes #27690. I have yet to test if this catches mismatches correctly. #### General - [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements) #### Have the results of the proposed changes been tested? - [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me - [ ] I generally don't use the affected packages but briefly tested this PR