Partially reverts 5366676eba. Meson is now the only build system. Also switch to finalAttrs pattern.
5366676eba