There's a merged pull request on the void-packages repository build-style/cargo.sh: don't use post_install() for leftover removal https://github.com/void-linux/void-packages/pull/20923 Description: Looks like only the do_*() phases are overwritable by the template, so post_install() currently always uses the build_style defined one, ignoring the template.