cvs commit: fptools/libraries/HaXml HaXml.cabal configure fptools/libraries/HaXml/src Makefile

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Mon Apr 18 11:30:53 EDT 2005


Ross Paterson <ross at soi.city.ac.uk> writes:

> > I have to admit I haven't been following the development of Cabal
> > too closely.  I am still using my own Makefiles to build HaXml, and
> > these tweaks only affect that process.
> 
> You added depends and hs-libraries fields to the top-level .cabal file,
> which triggers a parse error.

OK, I see.  Easy enough to fix.  Any idea why the 'depends' field is
distinct from the 'build-depends' field?  I can't immediately think of
a situation in which they would differ.  (The extra fields I added were
exactly those given to me by a user filing a bug report.)

> > My (possibly erroneous) impression is that the .cabal file is
> > essentially what I need to supply as the input to 'ghc-pkg register',
> > with the caveat that it needs a few extra fields to locate the
> > interface files, library archive, and so on.
> 
> OK, I was confused by you calling it .cabal.  The fptools build system
> does something similar, calling these installed package info files
> package.conf.{inplace,installed}.

Right, if that is confusing, it might be better for me to rename the
copy intended for the install info.  

> You might find Cabal easier, though.

Except that I haven't got round to checking how/whether Cabal works
with nhc98 yet....

Regards,
    Malcolm


More information about the Cvs-libraries mailing list