On 3/6/08, Magnus Therning <[EMAIL PROTECTED]> wrote:
>
> On 3/4/08, Thomas Schilling <[EMAIL PROTECTED]> wrote:
>
> >
> > On 4 mar 2008, at 11.37, Magnus Therning wrote:
> >
> > > On 3/4/08, Thomas Schilling <[EMAIL PROTECTED]> wrote:
> > > executable foo
> > >    main-is: bla
> > >    if !os(windows):
> > >      buildable: false
> > >
> > > Unfortunately this gives rather unhelpful error messages when used
> > > with flags, but it works well enough for now.
> > >
> > > / Thomas
> > >
> > > Hmmm, I don't seem to get this to work the way I want it.  I get a
> > > "Parse of field 'buildable' failed:" which means configure failed
> > > and then I can't proceed to build the second executable, bar, in
> > > the same package.
> >
> >
> > 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.

/M
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to