I'm not a big fan of this, it feels very hackish...

Setting 7z as a build dependency (and then using `'version`: ''` in the toolchain to have them actually loaded) and then adjusting the `extract_step` should really be preferred here.
There you could detect whether the sources are provided as `.tar.gz` or as `.iso`.