I assume daimyo is your project. That being so, your problem is that the version constraints in your cabal file are too strict. In particular, the bytestring
constraint should be bytestring == 0.10.*
, so that the package works with bytestring-0.10.0.2
, which probably came with your Haskell Platform or equivalent. There should be no incompatibilities, as according to the package versioning policy the two first parts of the version being equal implies the APIs are compatible.
As for actually making it work, you will have to unregister the new bytestring
package (ghc-pkg unregister bytestring-0.10.4.0
) and all packages that depend on it, and then reinstall those packages (except bytestring
of course). After that, you can minimize the frequency of such headaches by using Cabal 1.18 (cabal install cabal-install
if you don't have it) and its sandboxes.