I touched up the couchdb patch a bit and there were a couple of things that stood out to me. The test suite passed for me without any problems. There are a couple of bundled fonts as well as bundled javascript inside the share directory, which also makes it to the output. Looking at %out/lib/ it looks like there are a bunch of other libraries bundled with couchdb. I don't know much about erlang but I assume all these libraries should be unbundled. Looking inside erlang I see there are also a lot of what looks like bundled libraries so I'm not really sure how that goes. On the other hand, after talking to you on IRC and looking at how Debian takes erlang¹ and seems to split it into dozens of package outputs I'm far more uncertain of how it works. Anyway, take a look at the changes I made and see if anything/everything works :) ¹ https://sources.debian.org/src/erlang/1:23.0%7Erc1+dfsg-1/debian/patterns/ -- Efraim Flashner אפרים פלשנר GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted