yesodweb/persistent — pull request #80 by planrich (2012-06-18 17:36:23+00:00)
Title: mongoDB version issue

Using the mongoDB does not work correctly on my ubuntu box in a new scaffolded project.

It stops with the error:

Building mongoDB-1.2.0...

Database/MongoDB/Admin.hs:34:8:
Could not find module `Data.UString'
Perhaps you meant Data.String (from base)
Use -v to see a list of the files searched for.
cabal: Error: some packages failed to install:
mongoDB-1.2.0 failed during the building phase. The exception was:
ExitFailure 1

Using the constraint:

$ cabal-dev install mongoDB-1.2.0 --constraint=bson-0.1.7

it works like a charm.

I just altered the cabal file for the mongodb. this should solve the issue.

would be nice to have this cabal updated soon