On Mon, Mar 30, 2015 at 10:16 AM, Ludovic Courtès wrote: > Handling it during profile creation, as you suggest, and avoiding the > use of a wrapper sounds preferable to me. OK, lets go for that. Please find attached an updated patch taking into account all of your earlier comments. In the mean time I've found that to generate the documentation an additional step is required (phase haddock; the name is also the name of the tool used to generate the doc). I've added a keyword argument #:haddock? with default value of #t and #:haddock-flags for doc specific flags. The documentation is in the form of html files and does seems to require a fair amount of space. Some random examples: - mtl libs: 1.2MB / doc: 0.772MB - text libs: 13MB / doc: 1.7MB - HTTP libs: 3.9MB / doc: 0.804MB - network-uri: libs: 1.5MB / doc: 0.168MB - parsec libs: 3.1MB / doc: 1.1MB Given that I'm starting to package a bunch of libraries, do we want to generate a separate output for all of them? Regards, Fede