Use monad-control 0.2 for MongoDB
This commit is contained in:
parent
37ab6737ee
commit
f74956e582
@ -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
|
||||
|
||||
@ -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~
|
||||
|
||||
Loading…
Reference in New Issue
Block a user