There is an updated pull request by zdtcd against master on the void-packages repository https://github.com/zdtcd/void-packages build-style-go https://github.com/void-linux/void-packages/pull/16354 build-style/go: use glob instead of find Close #12442 --- The second commit is more or less a showcase. Anyway, cloning a whole repository for dist build isn't nice. A patch file from https://github.com/void-linux/void-packages/pull/16354.patch is attached