<html><head></head><body bgcolor="#FFFFFF"><div>Thanks for suggestions. Having /usr/bin scripts seems to work for me, Although virthualenv looks promising for package dependency management. B<span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); ">ut when run virthualenv with --ghc=tarball, it creates copy of GHC suite inside a project whose size is about 700MB.</span></div><div><br>On 2012/02/07, at 8:41, Brandon Allbery &lt;<a href="mailto:allbery.b@gmail.com">allbery.b@gmail.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div><div dir="ltr">On Mon, Feb 6, 2012 at 18:27, HASHIMOTO, Yusaku <span dir="ltr">&lt;<a href="mailto:nonowarn@gmail.com">nonowarn@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">
Hi, I wrote a simple shell function for switching GHC version on the<br>
system. It works only under Mac OSX, and only switch GHCs installed<br>
via .pkg installers. It's useful to experiment newer features without<br>
worrying breaking environment.<br></blockquote><div><br></div><div>FWIW I'd consider two alternatives:</div><div><br></div><div>(1) forgo links entirely and use something like <a href="http://modules.sourceforge.net/">http://modules.sourceforge.net/</a> to manage $PATH;</div>
<div><br></div><div>(2) instead of using the bundled create-links, have the /usr/bin scripts check a per-user symlink and fall back to a system one; running the select script as root sets the system symlink, running as user sets the per-user symlink.</div>
<div><br></div></div>-- <br>brandon s allbery &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a><br>wandering unix systems administrator (available) &nbsp; &nbsp; (412) 475-9364 vm/sms<br>
<br>
</div>
</div></blockquote></body></html>