Library version choosing of cabal sandbox build

Johan Tibell johan.tibell at gmail.com
Wed Jul 16 10:00:27 UTC 2014


Sorry, I read this to quickly as I was in a rush this morning. Sandboxes
consider only the global package DB, not the user package DB.


On Wed, Jul 16, 2014 at 11:59 AM, Roman Cheplyaka <roma at ro-che.info> wrote:

> This doesn't make sense to me. Can you elaborate?
>
> * Johan Tibell <johan.tibell at gmail.com> [2014-07-16 10:00:59+0200]
> > Right
> >
> >
> > On Wed, Jul 16, 2014 at 9:42 AM, Daniel Trstenjak <
> > daniel.trstenjak at gmail.com> wrote:
> >
> > >
> > > Hi Johan,
> > >
> > > On Tue, Jul 15, 2014 at 01:07:17PM +0200, Johan Tibell wrote:
> > > > Cabal is allowed to use any version that fullfills the required
> bounds.
> > > It uses
> > > > a heuristic the tends to prefer
> > > >
> > > >  * installed
> > > >  * newest
> > > >  * other
> > > >
> > > > in that order.
> > >
> > > Just to make it clear, a cabal sandbox build does consider the
> installed
> > > libraries in the user package database, right?
> > >
> > >
> > > Greetings,
> > > Daniel
> > > _______________________________________________
> > > cabal-devel mailing list
> > > cabal-devel at haskell.org
> > > http://www.haskell.org/mailman/listinfo/cabal-devel
> > >
>
> > _______________________________________________
> > cabal-devel mailing list
> > cabal-devel at haskell.org
> > http://www.haskell.org/mailman/listinfo/cabal-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/cabal-devel/attachments/20140716/303bca33/attachment-0001.html>


More information about the cabal-devel mailing list