Ross Paterson <[EMAIL PROTECTED]> 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
_______________________________________________
Cvs-libraries mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-libraries