[jhc] Building cabal packages
Chris Eidhof
chris at eidhof.nl
Tue Nov 17 15:22:22 EST 2009
Thanks, I'll try that!
-chris
On 17 nov 2009, at 12:15, Henning Thielemann wrote:
>
> On Mon, 16 Nov 2009, Chris Eidhof wrote:
>
>> --list-libraries does include the Yampa package, but the verbose
>> option doesn't show any exported modules. So the next question: how
>> can I convince JHC to compile the exposed-modules in that cabal file?
>
> This clearly means that JHC has not compiled your modules but just
> created an empty package. I suggest using Cabal from Darcs HEAD. It
> creates the necessary JHC-package-file for you. If you are using JHC
> from darcs, then you might still apply the following changes to
> Cabal in order to process the new --list-libraries format:
>
> cabal$ darcs whatsnew ./Distribution/Simple/JHC.hs
> What's new in "Distribution/Simple/JHC.hs":
>
> {
> hunk ./Distribution/Simple/JHC.hs 113
> + ,(Rank2Types , "")
> hunk ./Distribution/Simple/JHC.hs 136
> + (skipSpaces >> string "- " >> skipSpaces >> parse) ln)
> +{-
> + pCheck (readP_to_S
> hunk ./Distribution/Simple/JHC.hs 140
> +-}
> }
>
More information about the jhc
mailing list