New comment by paper42 on void-packages repository https://github.com/void-linux/void-packages/issues/39315#issuecomment-1249376667 Comment: You can export CGO_ENABLED in the template like it's done for example in v2ray.