Shouldn't cabal-install avoid reinstalling packages that are bundled with
GHC? The cabal upgrade command has been disabled for that very reason.

I can see how that would be a problem though, as cabal probably has no way
of knowing which packages were bundled with GHC.
-- 
Robin

2010/1/7 Gwern Branwen <gwe...@gmail.com>

> darcs Yi uses data-accessor-template, which uses template-haskell
> Cabal-install naturally tries to install the latest, 2.4.0.0.
> Fortunately, the latest doesn't compile on 6.10.2, because if it did,
> as a core package, it would probably screw everything up.
>
> You have to do something like 'cabal install
> --constraint='template-haskell < 2.4'. You can't edit yi.cabal easily
> because it doesn't directly mention template-haskell - it's a dep of a
> dep, and it's bad to (even using a flag conditional on GHC version)
> specify stuff about indirect deps, I feel.
>
> Is there anyway data-accessor-template could be tweaked or fixed to
> work in this situation without any user intervention?
>
> --
> gwern
>
> --
> Yi development mailing list
> yi-devel@googlegroups.com
> http://groups.google.com/group/yi-devel
>
-- 
Yi development mailing list
yi-devel@googlegroups.com
http://groups.google.com/group/yi-devel

Reply via email to