<div dir="ltr">On Sun, Aug 28, 2011 at 16:40, Arnaud Bailly <span dir="ltr">&lt;<a href="mailto:arnaud.oqube@gmail.com">arnaud.oqube@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Thanks for taking the time to help me fix this package stuff. So I wiped out my package.conf.d/ and tried to reinstall my stuff. Installing template-haskell 2.5.0.0 is ok (2.6 is not, fails to compile on ghc 7.0.3) but then:<br>

<br>D:\projets\&gt;ghc --make -package ghc main<div class="im"><br>&lt;command line&gt;: cannot satisfy -package ghc<br></div><div class="im">    (use -v for more information)<br></div></blockquote><div><br></div><div>That&#39;d be expected; you shouldn&#39;t simply obliterate package.conf.d, you need to keep ghc&#39;s boot libraries (which include itself as a library).  If the boot libraries are somehow hosed, you need to reinstall the compiler to get them back.</div>
<div><br></div><div>Although, I think you were headed there anyway:  template-haskell is a boot library, since it&#39;s very tightly bound to the exact compiler version, so it&#39;s almost always wrong to install it in any way other than as part of installing GHC itself.</div>
<div><br></div></div>-- <br>brandon s allbery                                      <a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a><br>wandering unix systems administrator (available)     (412) 475-9364 vm/sms<br>
<br>
</div>