[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haskell-jhc
Subject:    Re: [jhc] Building cabal packages
From:       Chris Eidhof <chris () eidhof ! nl>
Date:       2009-11-17 20:22:22
Message-ID: 78A6EB29-E39C-42C9-B3DB-2B553C4A495E () eidhof ! nl
[Download RAW message or body]

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
> +-}
> }
>

_______________________________________________
jhc mailing list
jhc@haskell.org
http://www.haskell.org/mailman/listinfo/jhc
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic