[Haskell-cafe] Is it possible for cabal sandboxes to use $HOME/.cabal/lib?
rasen.dubi at gmail.com
Mon Mar 30 18:42:05 UTC 2015
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
> Hi Aldo,
> Maybe what you want to do is "cabal sandbox init
> 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
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe