Library version choosing of cabal sandbox build
Johan Tibell
johan.tibell at gmail.com
Tue Jul 15 11:07:17 UTC 2014
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.
If you want to make sure the newest version is used temporarily you can
pass --constraint="foo-1.2.3.4" to cabal install. If you want to make this
change more permanent you can set an exact version in a cabal.config file
in the same directory as the .cabal file.
On Tue, Jul 15, 2014 at 12:57 PM, Daniel Trstenjak <
daniel.trstenjak at gmail.com> wrote:
>
> dan at machine ~> cabal --version
> cabal-install version 1.20.0.3
> using version 1.20.0.1 of the Cabal library
> _______________________________________________
> 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/20140715/9d091b23/attachment.html>
More information about the cabal-devel
mailing list