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