[Haskell-cafe] Why does cabal select base- when base- is available?

Bjorn Buckwalter bjorn.buckwalter at gmail.com
Mon Apr 26 07:25:50 EDT 2010

Dear all,

Why does cabal seem to prefer base- over base- when
installing packages with an unqualified base requirement? Example:

$ cabal install -v fad --reinstall
Resolving dependencies...
selecting fad-1.0 (hackage)
selecting base- (installed) and (installed) and discarding
syb-,,,, 0.2 and 0.2.1
Configuring fad-1.0...
Dependency base == using base-
[1 of 1] Compiling Numeric.FAD      ( Numeric/FAD.hs, dist/build/Numeric/FAD.o )

    Warning: Module `Prelude' is deprecated:
               You are using the old package `base' version 3.x.
               Future GHC versions will not support base version 3.x. You
               should update your code to use the new base version 4.x.


More information about the Haskell-Cafe mailing list