The patches are unwieldy to manage, especially with the automated packaging flows in the Emacs overlay.
This approach applies to _all_ RUN_TEMACS calls and successfully removes -dev paths from the closure and reduces the closure size from ~1.4G to just under ~464M. It's also less brittle than having in-tree patches.