On Tue, Nov 9, 2010 at 5:12 PM, Duncan Coutts <span dir="ltr">&lt;<a href="mailto:duncan.coutts@googlemail.com">duncan.coutts@googlemail.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;">
<div class="im">On 9 November 2010 10:40, John Lato &lt;<a href="mailto:jwlato@gmail.com">jwlato@gmail.com</a>&gt; wrote:<br>
&gt;&gt; On the other hand, on those systems people would get all packages<br>
&gt;&gt; (libraries and programs) required by the Haskell platform, plus<br>
&gt;&gt; some additional ones. Wouldn&#39;t hurt too much, IMHO (allthough it<br>
&gt;&gt; feels a little bit wrong if the platform would contain programs<br>
&gt;&gt; that can&#39;t be built with only the platform).<br>
&gt;<br>
&gt; I think this was exactly the situation rationale 8.5 means to avoid.<br>
&gt; I do think it would be technically possible to make this work, but only by<br>
&gt; greatly increasing the maintenance cost for HP (I underestimated this cost<br>
&gt; originally).  It&#39;s probably not a good trade-off.<br>
<br>
<br>
&gt; If cabal supported something like run-time-specified repos it would be much simpler.<br>
<br>
</div>What sort of thing are you thinking of here?</blockquote><div><br></div><div>If, in addition to the global and user package stores, you could specify alternate package stores.  Then it would be possible to do e.g.</div>
<div><br></div><div>cabal install --use-package-store=./buildlibs</div><div><br></div><div>to create a package store at ./buildlibs (if it doesn&#39;t exist) and install a library there.  Then later commands could do</div>
<div><br></div><div>cabal install --extra-package-store=./buildlibs</div><div><br></div><div>to check for packages in that extra location in addition to the default global and user locations.</div><div><br></div><div>This would certainly enable building non-blessed libs as part of the HP and differentiating from the normal blessed packages.  It might be useful for other reasons too.  I&#39;m not saying it&#39;s a good idea for HP, just that it would be technically possible.</div>
<div><br></div><div>Were some other people already talking about this in this thread?  Is this already implemented?  </div><div><br></div><div>John</div></div>