builtins.fetchTree(and flake inputs) can now be used to fetch plain files over thehttp(s)andfileprotocols in addition to directory tarballs.
Oh I was waiting for this to land (in #6548), thank you! This was a big pain point for me that has gone away.
(Now there’s just sparse checkout #5811 on my wishlist)