Library version choosing of cabal sandbox build

Roman Cheplyaka roma at ro-che.info
Tue Jul 15 13:42:09 UTC 2014


* Daniel Trstenjak <daniel.trstenjak at gmail.com> [2014-07-15 14:40:33+0200]
> 
> Hi Roman,
> 
> > You should create a fresh sandbox per build, then.
> > 
> > This is both sufficient (nothing is installed => no reason to prefer an older
> > version) and necessary (when in a sandbox, cabal won't let you have two
> > different versions of the library installed).
> 
> As long as you haven't installed the library locally (in ~/.cabal) then
> it's sufficient, otherwise it isn't.

When in a sandbox, cabal ignores the user package database. As long as you don't
install it *globally*, you should be fine.

Roman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://www.haskell.org/pipermail/cabal-devel/attachments/20140715/98dacfc5/attachment.sig>


More information about the cabal-devel mailing list