[Haskell-cafe] Is it possible for cabal sandboxes to use $HOME/.cabal/lib?
rasen.dubi at gmail.com
Mon Mar 30 20:04:27 UTC 2015
Ok. Seems that I get this method working.
Just copied .cabal-sandbox and caba.sandbox.config over new location.
Replaced all occurrences of the old path to the new one in
.cabal-sandbox/x86_64-linux-ghc-7.8.4-packages.conf.d/*.conf. After that I
executed `cabal sandbox hc-pkg recache` and everything seems to work.
Doesn't seem like a sane solution, but can be used if absolutely needed.
On Mon, Mar 30, 2015 at 10:11 PM, Brandon Allbery <allbery.b at gmail.com>
> On Mon, Mar 30, 2015 at 2:42 PM, Alexey Shmalko <rasen.dubi at gmail.com>
>> 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.
> You'd need to fix paths in the package database and `cabal hc-pkg recache`
> (if that works; might need cabal exec).
> brandon s allbery kf8nh sine nomine
> allbery.b at gmail.com
> ballbery at sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonad
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe