Cabal, Hackage, and License-File

Ross Paterson ross at
Sun Mar 4 10:59:13 EST 2007

On Sun, Mar 04, 2007 at 08:19:53AM -0600, John Goerzen wrote:
> But there is a problem with Cabal's sdist.  It doesn't put files into
> the generated tarball that it doesn't know about.  On a project of any
> reasonable size, there may be two dozen people that hold copyrights on
> parts of it.  It's not practical to keep that all up-to-date in the
> .cabal file, IMHO.  That's why I have the COPYRIGHT file.  The license
> file is useless without it.
> So what do I do here to make sure that all the license docs wind up in
> the generated tar.gz?

Use the extra-source-files field.

More information about the Libraries mailing list