[Haskell-cafe] CABAL: conditional executable?

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Thu Mar 6 22:08:59 EST 2008


On Thu, 2008-03-06 at 16:29 +0000, Magnus Therning wrote:
> On 3/6/08, Magnus Therning <magnus at therning.org> wrote:
>         On 3/6/08, Magnus Therning <magnus at therning.org> wrote:
>                 On 3/4/08, Thomas Schilling <nominolo at googlemail.com>
>                 wrote:

>                         Oh, right.  That's a bug in Cabal 1.2 (fixed
>                         in HEAD).  Use:
>                         
>                            buildable: False
>                 
>                 OK, that solved that problem, now onto the next.
>                 Rather surprisingly to me, buildability has an impact
>                 on what's included in the source tar-ball created with
>                 "sdist".  What's the reason for that behaviour?
>         
>         It seems the source isn't even included on the platform where
>         the executable *is* buildable.  I'll see if I can put together
>         a small example and raise a bug.
> 
> Done, http://hackage.haskell.org/trac/hackage/ticket/257

Fixed, thanks.

Duncan




More information about the Haskell-Cafe mailing list