New comment by Duncaen on void-packages repository https://github.com/void-linux/void-packages/issues/38075#issuecomment-1550417905 Comment: please don't put this anywhere where it will be executed each xbps-src invocation. There are tools that execute xbps-src in a loop on many packages to gather dependencies and each fork is expensive, this function would add a bunch of forks for something that is only required for one sub command.