[Haskell-cafe] How to cabal fetch mtl==22.214.171.124?
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 < 126.96.36.199, 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-188.8.131.52
cabal: cannot configure special-functors-184.108.40.206. It requires mtl >=1.0 &&
For the dependency on mtl >=1.0 && <1.1.1 there are these packages: mtl-1.0,
mtl-220.127.116.11, mtl-18.104.22.168 and mtl-22.214.171.124. However none of them are available.
mtl-1.0 was excluded because mtl-126.96.36.199 was selected instead
mtl-1.0 was excluded because of the top level dependency mtl ==188.8.131.52
mtl-184.108.40.206 was excluded because mtl-220.127.116.11 was selected instead
mtl-18.104.22.168 was excluded because of the top level dependency mtl ==22.214.171.124
mtl-126.96.36.199 was excluded because mtl-188.8.131.52 was selected instead
mtl-184.108.40.206 was excluded because of the top level dependency mtl ==220.127.116.11
mtl-18.104.22.168 was excluded because mtl-22.214.171.124 was selected instead
mtl-126.96.36.199 was excluded because of the top level dependency mtl ==188.8.131.52
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