When I change the cabal file to say preference: base >= 4

When I change the cabal file to say preference: base >= 4 I still get, "you are using base 3.0 which is deprecated." When I change the overall cabal profile, the error message still comes up. It seems like some other part of the install process is controlling the base version, besides the *.cabal and cabal profile file.

On Thursday 30 September 2010 00:56:56, caseyh@istar.ca wrote:
When I change the cabal file to say preference: base >= 4
In the .cabal file of a package, that would belong in the build-depends.
I still get, "you are using base 3.0 which is deprecated." When I change the overall cabal profile, the error message still comes up.
Which cabal version? Perhaps it doesn't know preferences yet.
It seems like some other part of the install process is controlling the base version, besides the *.cabal and cabal profile file.
Did you verify that none of the build-depends requires base == 3.* ?

On Wed, Sep 29, 2010 at 3:56 PM,
When I change the cabal file to say preference: base >= 4 I still get, "you are using base 3.0 which is deprecated." When I change the overall cabal profile, the error message still comes up. It seems like some other part of the install process is controlling the base version, besides the *.cabal and cabal profile file.
When you run install or configure, try passing -v to see the verbose output. This can often help you see why the wrong package is picked. With base it's a bit trickier. In theory, constraints should override preferences. Base has a special thing where the preference overrides constraints when the upper bound is missing. Does the package in question have an upper bound on the version of base? Something like, base == 4.*, or base > 3 && base < 5 ? Jason
participants (3)
-
caseyh@istar.ca
-
Daniel Fischer
-
Jason Dagit