Just issuing the command cabal install
results in the following error message.
Command/Add.hs:54:3:
No instance for (Control.Monad.IO.Control.MonadControlIO
(Control.Monad.State.Lazy.StateT Annex.AnnexState IO))
arising from a use of `handle' at Command/Add.hs:54:3-24
Adding the dependency for monadIO
to git-annex.cabal
should fix this?
-- Thomas
No, it's already satisfied by
monad-control
being listed as a dependency in the cabal file. Your system might be old/new/or broken, perhaps it's time to provide some details about the version of haskell and ofmonad-control
you have installed? --Joey
I use Debian Squeeze, I have the Debian package cabal-install 0.8.0-1 installed.
This installed: Cabal-1.10.2.0, zlib-0.5.3.1, cabal-install 0.10.2. No version of monad-control or monadIO installed.
After I added a depencency for monadIO to the git-annex.cabal file, it installed correctly.
-- Thomas