Use monad-control 0.2 for MongoDB

This commit is contained in:
Michael Snoyman 2011-12-05 13:24:40 +02:00
parent 37ab6737ee
commit f74956e582
2 changed files with 6 additions and 1 deletions

View File

@ -118,6 +118,11 @@ scaffold = do
then " , persistent-mongoDB >= 0.6.1 && < 0.7\n , mongoDB >= 1.1\n , bson >= 0.1.5\n"
else " , persistent-" ++ backendLower ++ " >= 0.6 && < 0.7"
monadControlVersion =
if backend == MongoDB
then "== 0.2.*"
else "== 0.3.*"
let fst3 (x, _, _) = x
year <- show . fst3 . toGregorian . utctDay <$> getCurrentTime

View File

@ -91,4 +91,4 @@ executable ~project~
, shakespeare-js >= 0.10 && < 0.11
, shakespeare-text >= 0.10 && < 0.11
, hjsmin >= 0.0.14 && < 0.1
, monad-control >= 0.3 && < 0.4
, monad-control ~monadControlVersion~