On 3/6/08, <b class="gmail_sendername">Magnus Therning</b> <<a href="mailto:magnus@therning.org">magnus@therning.org</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<span class="q">On 3/6/08, <b class="gmail_sendername">Magnus Therning</b> <<a href="mailto:magnus@therning.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">magnus@therning.org</a>> wrote:</span><div>
<span class="q"><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><span>On 3/4/08, <b class="gmail_sendername">Thomas Schilling</b> <<a href="mailto:nominolo@googlemail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">nominolo@googlemail.com</a>> wrote:</span></div>
<div><div><span><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br> On 4 mar 2008, at 11.37, Magnus Therning wrote:<br> <br> > On 3/4/08, Thomas Schilling <<a href="mailto:nominolo@googlemail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">nominolo@googlemail.com</a>> wrote:<br>
> executable foo<br> > main-is: bla<br>
> if !os(windows):<br> > buildable: false<br> ><br> > Unfortunately this gives rather unhelpful error messages when used<br> > with flags, but it works well enough for now.<br> ><br> > / Thomas<br>
><br> > Hmmm, I don't seem to get this to work the way I want it. I get a<br> > "Parse of field 'buildable' failed:" which means configure failed<br> > and then I can't proceed to build the second executable, bar, in<br>
> the same package.<br> <br> <br>Oh, right. That's a bug in Cabal 1.2 (fixed in HEAD). Use:<br> <br> buildable: False</blockquote></span></div><div><br>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?</div>
</div></blockquote></span><div><br>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.</div></div></blockquote>
<div><br>Done, <a href="http://hackage.haskell.org/trac/hackage/ticket/257">http://hackage.haskell.org/trac/hackage/ticket/257</a><br><br>/M <br></div><br></div>