[Haskell-cafe] How to determine correct dependency versions for a library?
roma at ro-che.info
Wed Nov 14 10:35:30 CET 2012
* Erik Hesselink <hesselink at gmail.com> [2012-11-12 20:58:17+0100]
> And I believe the last base changes included a change to 'catch' which
> would have broken a lot of packages. The Num changes also caused a lot of
> code changes, and there were probably more I don't remember.
Even if so, upper bounds don't prevent these errors. Cabal can't install
an older base for you.
(I'm aware that GHC once shipped two versions of base, and dependency
bounds were actually useful then. But that's not the case nowadays, as
For example, here's what I get when I try to install virthualenv with
% cabal install virthualenv
cabal: Could not resolve dependencies:
rejecting: base-18.104.22.168, 22.214.171.124 (global constraint requires installed
rejecting: base-126.96.36.199/installed-eac... (conflict: virthualenv =>
base>=188.8.131.52 && <4.6)
rejecting: base-184.108.40.206, 220.127.116.11, 18.104.22.168, 22.214.171.124, 126.96.36.199, 188.8.131.52, 184.108.40.206,
220.127.116.11, 18.104.22.168, 22.214.171.124, 126.96.36.199, 188.8.131.52 (global constraint requires
More information about the Haskell-Cafe