Thanks.  Looks simple enough, and I compiled up a version that works this way.  I don't know how to get ghc to use it.  When I "./setup install", I get Cabal-1.1.7 registered, but my ghc-6.6 wants to use Cabal-1.1.6
 instead.&nbsp; <br><br>Worse, I unregistered 1.1.6, and now I can&#39;t use cabal at all with ghc.&nbsp; Do you know how get 1.1.6 back short of re-installing ghc?<br><br>BTW, I noticed in the function &quot;haddock&quot; in Distribution.Simple
, the line &quot;++ programArgs confHaddock&quot;, which leads me to suspect that there&#39;s an approach getting extra Haddock arguments passed by tweaking my Setup.lhs.&nbsp; Is that so?<br><br>Cheers,&nbsp; - Conal<br><br><br><div>
<span class="gmail_quote">On 1/7/07, <b class="gmail_sendername">Duncan Coutts</b> &lt;<a href="mailto:duncan.coutts@worc.ox.ac.uk">duncan.coutts@worc.ox.ac.uk</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sun, 2007-01-07 at 10:42 -0800, Conal Elliott wrote:<br>&gt; I want Cabal to pass the source-module and source-entity flags to<br>&gt; haddock.&nbsp;&nbsp;I can probably figure out how to add these flags into the<br>&gt; Cabal source (following the example of --hoogle), but I wonder if
<br>&gt; there&#39;s a better way.&nbsp;&nbsp;Any suggestions?<br><br>runhaskell Setup.hs configure --haddock-args=&quot;--source-module=...&quot;<br><br>&gt; If source mod, is there a process for me to follow?&nbsp;&nbsp;To whom would I<br>
&gt; send the patch?<br><br>If you use &#39;darcs send&#39; to send in your patch then it should just work,<br>the address has already been set. If darcs send doesn&#39;t work for you (eg<br>if you&#39;ve not got local mail working) then you can email it to the
<br><a href="mailto:cabal-devel@haskell.org">cabal-devel@haskell.org</a> mailing list.<br><br>Duncan<br><br></blockquote></div><br>