It was indeed an old .hi file.&nbsp; Thanks!&nbsp; - Conal<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 12:32 -0800, Conal Elliott wrote:<br>&gt; Thanks.&nbsp;&nbsp;Looks simple enough, and I compiled up a version that works
<br>&gt; this way.&nbsp;&nbsp;I don&#39;t know how to get ghc to use it.&nbsp;&nbsp;When I &quot;./setup<br>&gt; install&quot;, I get Cabal-1.1.7 registered, but my ghc-6.6 wants to use<br>&gt; Cabal-1.1.6 instead.<br><br>Try cleaning and rebuilding your prog, you&#39;ve probably got existing .hi
<br>files that refer to the older package version. That or perhaps you are<br>using other packages that were built against Cabal-1.1.6, eg the ghc api<br>package. You can force ghc to use a specific version using &quot;ghc -package
<br>Cabal-1.1.7&quot; and see what it complains about.<br><br>&gt; Worse, I unregistered 1.1.6, and now I can&#39;t use cabal at all with<br>&gt; ghc.&nbsp;&nbsp;Do you know how get 1.1.6 back short of re-installing ghc?<br><br>You can re-register the old version, though I&#39;m not sure where you can
<br>get the right package.conf file from. If you built from source you can<br>grab the file from the build tree. If you installed from a distro<br>package then re-installing that should be easy.<br><br>&gt; BTW, I noticed in the function &quot;haddock&quot; in 
Distribution.Simple , the<br>&gt; line &quot;++ programArgs confHaddock&quot;, which leads me to suspect that<br>&gt; there&#39;s an approach getting extra Haddock arguments passed by tweaking<br>&gt; my Setup.lhs.&nbsp;&nbsp;Is that so?
<br><br>Ask on the cabal-devel list, I&#39;m not sure without delving into the code.<br><br>Duncan<br><br></blockquote></div><br>