This reverts commit 672efb940f. This is a terrible fix, use buildEnv's extraOutputsToInstall instead.
672efb940f