[Haskell-cafe] Is it possible for cabal sandboxes to use $HOME/.cabal/lib?

Alexey Shmalko rasen.dubi at gmail.com
Mon Mar 30 18:42:05 UTC 2015


Hi all,

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.

On Mon, Mar 30, 2015 at 8:02 AM, Aldo Davide <aldodavide at gmx.com> wrote:

> Hi Yuji,
>
> The --sandbox option is used to specify the sandbox location. I want my
> sandbox to be in ./.cabal-sandbox, i.e. the default location.
>
> 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.
>
> *Sent:* Monday, March 30, 2015 at 5:48 AM
> *From:* "Yuji Yamamoto" <whosekiteneverfly at gmail.com>
> *To:* "Aldo Davide" <aldodavide at gmx.com>
> *Cc:* "Haskell Cafe" <haskell-cafe at haskell.org>
> *Subject:* Re: [Haskell-cafe] Is it possible for cabal sandboxes to use
> $HOME/.cabal/lib?
>  Hi Aldo,
>
> Maybe what you want to do is "cabal sandbox init
> --sandbox=$HOME/.cabal/lib/".
> Specify "--sandbox=" option.
>
> 2015-03-30 13:05 GMT+09:00 Aldo Davide <aldodavide at gmx.com>:
>>
>> Hi all,
>>
>> 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?
>>
>> Thanks
>> _______________________________________________
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>
>
>
> --
> 山本悠滋
> twitter: @igrep
> Facebook: http://www.facebook.com/igrep
> Google+: https://plus.google.com/u/0/+YujiYamamoto_igrep
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150330/54867414/attachment.html>


More information about the Haskell-Cafe mailing list