[Haskell-cafe] How to cabal fetch mtl==126.96.36.199?
ia at stryx.demon.co.uk
Thu Dec 2 02:09:18 CET 2010
On 25 Nov 2010 at 23:48:27, Ross Paterson wrote:
> On Fri, Nov 26, 2010 at 12:24:26AM +0100, Bas van Dijk wrote:
> > Maybe it helps if special-functors gets an upper bound on its mtl
> > dependency: mtl < 2.
> It should have mtl < 188.8.131.52, because that version lacks one of the
> instances it relies on.
Well, that certainly breaks the dependency loop, but still leaves the overall
C:\Source\Haskell\Wrapper>cabal fetch mtl-184.108.40.206
cabal: cannot configure special-functors-220.127.116.11. It requires mtl >=1.0 &&
For the dependency on mtl >=1.0 && <1.1.1 there are these packages: mtl-1.0,
mtl-18.104.22.168, mtl-22.214.171.124 and mtl-126.96.36.199. However none of them are available.
mtl-1.0 was excluded because mtl-188.8.131.52 was selected instead
mtl-1.0 was excluded because of the top level dependency mtl ==184.108.40.206
mtl-220.127.116.11 was excluded because mtl-18.104.22.168 was selected instead
mtl-22.214.171.124 was excluded because of the top level dependency mtl ==126.96.36.199
mtl-188.8.131.52 was excluded because mtl-184.108.40.206 was selected instead
mtl-220.127.116.11 was excluded because of the top level dependency mtl ==18.104.22.168
mtl-22.214.171.124 was excluded because mtl-126.96.36.199 was selected instead
mtl-188.8.131.52 was excluded because of the top level dependency mtl ==184.108.40.206
I've tried installing transformers-0.2.2.0, but that doesn't seem to help
Ah, but running with --verbose=3 shows that it's using the 6.4.1 version of ghc-
pkg, which doesn't have transformers-0.2.2.0 installed, and if it did would
have the dependency on special-functors. I'm fairly sure I've got a pre-built
cabal command-line binary, the 6.12.3 version of ghc-pkg is first on the PATH,
and there's nothing relevant in ~/cabal/config (I'm on Windows, but we all know
what I mean by that). So where's it getting the 6.4.1 ghc-pkg from? I've
tried overriding --with-hc-pkg=..., but it's an unrecognized option.
Iain Alexander ia at stryx.demon.co.uk
More information about the Haskell-Cafe