<div dir="ltr">As a noob to haskell, is there a tutorial or anything someone can point me to that's up to do date about how to use cabal with sandboxes?  Now that I'm trying to do more than play around at the repl, I'm trying to get up to speed with cabal and the ecosystem, but all the tutorials I see either recommend cabal-dev or don't mention sandboxing at all.  </div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 1, 2013 at 1:34 PM, Carter Schonwald <span dir="ltr"><<a href="mailto:carter.schonwald@gmail.com" target="_blank">carter.schonwald@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">my prior email is about how the BREW folks are having a hard time using cabal sandboxing to support providing brew formulae for things like pandoc etc</div>
<div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">

On Fri, Nov 1, 2013 at 4:14 PM, Yuri de Wit <span dir="ltr"><<a href="mailto:ydewit@gmail.com" target="_blank">ydewit@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div dir="ltr">I quite like the approach taken by 'brew' where you can 'link' and 'unlink' executables to and from a specific folder in the path:<br><br><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">




<b>brew install apple-gcc42<br></b><b>brew link apple-gcc42<br> </b><b>brew unlink apple-gcc42 </b></blockquote><div><br></div><div>The installed package has the knowledge of what needs to be linked and unlinked to/from the path (btw, it is a path managed by brew in /usr/local/bin similar to .cabal/bin or Library/Haskell/bin) and it is quite easy to manage the path with it.</div>




<div><br></div><div><br></div><div><br></div></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 1, 2013 at 5:49 PM, Bob Ippolito <span dir="ltr"><<a href="mailto:bob@redivi.com" target="_blank">bob@redivi.com</a>></span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">symlinks are generally how this gets "solved" in practice. <div><div><br><br>On Friday, November 1, 2013, Carter Schonwald  wrote:<br>




<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This.  <div><br></div><div>Actually the Mac brew folks are hitting this issue exactly.  Subtlty being you want  to be able to install bin and share assets both to a custom location. Unclear how to do that currently. <span></span><br>






<br>On Friday, November 1, 2013, Tom Ellis  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, Nov 01, 2013 at 06:37:13PM +0000, Tom Ellis wrote:<br>
> On Fri, Nov 01, 2013 at 01:31:33PM -0500, Gregory Guthrie wrote:<br>
> >    "I could see myself inadvertently cabal-installing utilities (eg: newt, bnfc, etc...) in sandboxes on accident.<br>
> ><br>
> > What is wrong with this?<br>
><br>
> My guess is that Rogan was suggesting they wouldn't appear on the PATH.<br>
<br>
I wonder if some compromise is possible whereby the binary builds in the<br>
sandbox but is installed to some user-wide location on the PATH.<br>
<br>
Tom<br>
<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a>Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</blockquote></div>
</blockquote>
</div></div><br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br></div>