cabal beginner issues (other-modules, build-depends)
Ross Paterson
ross at soi.city.ac.uk
Fri Sep 23 05:46:38 EDT 2005
On Fri, Sep 23, 2005 at 10:37:52AM +0100, Simon Marlow wrote:
> On 23 September 2005 10:20, Ross Paterson wrote:
> > Module dependency calculation would have to be done in the build
> > environment, not at the source, because the set of modules used may
> > be system-dependent. And you'd still need to specify exposed-modules.
>
> Yes, that's what I had in mind. The calculation of other-modules would
> happen when .installed-pkg-info is generated.
I forgot extra-source-files, which is needed in the source system and has
to include all the files not mentioned elsewhere that might be needed
on any build system. Without other-modules you'd need it more often,
and it would be harder to compute.
More information about the Libraries
mailing list