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@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@gmail.com>
To: "Aldo Davide" <aldodavide@gmx.com>
Cc: "Haskell Cafe" <haskell-cafe@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@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@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
 
 
--

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe