It worked!<div><br></div><div>Thanks,</div><div>hugo<br><br><div class="gmail_quote">On Wed, Dec 3, 2008 at 12:25 PM, Duncan Coutts <span dir="ltr">&lt;<a href="mailto:duncan.coutts@worc.ox.ac.uk">duncan.coutts@worc.ox.ac.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="Ih2E3d">On Tue, 2008-12-02 at 03:15 +0000, Hugo Pacheco wrote:<br>
&gt; Well, I am using<br>
&gt;<br>
&gt;<br>
&gt; cabal-install version 0.6.0<br>
&gt; using version <a href="http://1.6.0.1" target="_blank">1.6.0.1</a> of the Cabal library<br>
&gt;<br>
&gt;<br>
&gt; The suggested trick (adding dist/build/autogen to Hs-Source-Dirs)<br>
&gt; solved the problem.<br>
<br>
</div>If possible would you mind testing the patch that we think fixes this<br>
bug:<br>
<br>
<a href="http://hackage.haskell.org/trac/hackage/ticket/396" target="_blank">http://hackage.haskell.org/trac/hackage/ticket/396</a><br>
<br>
It&#39;s in the development version of Cabal. If it works for you then I&#39;ll<br>
push it to the Cabal-1.6 branch and it&#39;ll appear in Cabal-1.6.0.2.<br>
<br>
The development version of the Cabal lib lives at:<br>
darcs get <a href="http://darcs.haskell.org/cabal/" target="_blank">http://darcs.haskell.org/cabal/</a><br>
<br>
Alternatively if your code is available then I could use that to confirm<br>
the fix.<br>
<font color="#888888"><br>
Duncan<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.di.uminho.pt/~hpacheco">www.di.uminho.pt/~hpacheco</a><br>
</div>