<div dir="ltr">Hi all,<div><br></div><div>Not sure, but is this possible to copy your home cabal sandbox to ./.cabal-sandbox? Then you'll have all your default packages available and won't build them again.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 30, 2015 at 8:02 AM, Aldo Davide <span dir="ltr"><<a href="mailto:aldodavide@gmx.com" target="_blank">aldodavide@gmx.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:Verdana;font-size:12.0px"><div>Hi Yuji,<br>
<br>
The --sandbox option is used to specify the sandbox location. I want my sandbox to be in ./.cabal-sandbox, i.e. the default location.<br>
<br>
To clarify, I want to be able to create multiple independent sandboxes, that take advantage of the packages installed in $HOME/.cabal, just like how they take advantage of the system-wide install packages.<br>
<div>
<div name="quote" style="margin:10px 5px 5px 10px;padding:10px 0 10px 10px;border-left:2px solid #c3d9e5;word-wrap:break-word">
<div style="margin:0 0 10px 0"><b>Sent:</b> Monday, March 30, 2015 at 5:48 AM<br>
<b>From:</b> "Yuji Yamamoto" <<a href="mailto:whosekiteneverfly@gmail.com" target="_blank">whosekiteneverfly@gmail.com</a>><br>
<b>To:</b> "Aldo Davide" <<a href="mailto:aldodavide@gmx.com" target="_blank">aldodavide@gmx.com</a>><br>
<b>Cc:</b> "Haskell Cafe" <<a href="mailto:haskell-cafe@haskell.org" target="_blank">haskell-cafe@haskell.org</a>><br>
<b>Subject:</b> Re: [Haskell-cafe] Is it possible for cabal sandboxes to use $HOME/.cabal/lib?</div><div><div class="h5">
<div name="quoted-content">
<div>Hi Aldo,
<div> </div>
<div>Maybe what you want to do is "cabal sandbox init --sandbox=$HOME/.cabal/lib/".</div>
<div>Specify "--sandbox=" option.</div>
</div>
<div class="gmail_extra">
<div class="gmail_quote">2015-03-30 13:05 GMT+09:00 Aldo Davide <span><<a href="http://aldodavide@gmx.com" target="_blank">aldodavide@gmx.com</a>></span>:
<blockquote class="gmail_quote" style="margin:0 0 0 0.8ex;border-left:1.0px rgb(204,204,204) solid;padding-left:1.0ex">Hi all,<br>
<br>
There are some packages that I use again and again and I would like to install them once (but not in a system-wide location) and then have cabal sandboxes use that install, instead of installing them in every sandbox, which is time consuming. Is there a way do that? For example, I noticed that cabal, when operating inside a sandbox, can still find the packages installed system-wide, but not the ones in $HOME/.cabal/lib. Can I change that?<br>
<br>
Thanks<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="http://Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a></blockquote>
</div>
<div> </div>
--
<div>山本悠滋<br>
twitter: @igrep<br>
Facebook: <a href="http://www.facebook.com/igrep" target="_blank">http://www.facebook.com/igrep</a><br>
Google+: <a href="https://plus.google.com/u/0/+YujiYamamoto_igrep" target="_blank">https://plus.google.com/u/0/+YujiYamamoto_igrep</a></div>
</div>
</div>
</div></div></div>
</div>
</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://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br></div>