Help reducing derivation size of texlive for exporting pdfs from emacs org-mode

I’ve gotten things down to 7GB (lol) with this:

(texlive.combine { inherit (texlive) scheme-medium xifthen ifmtarg framed paralist titlesec wrapfig capt-of; })

If I recall correclty I tried scheme-small and it didn’t work for some reason.

I’m hoping someone else has already done this, but failing that any advice on reducing things would be helpful.

Or if I have to, tracking down all the things needed for only this use-case in scheme-medium. I guess I’d just look at the derivation of texlive.scheme-medium and manually list things and do a binary search trying to delete things?