Skip to content

Commit

Permalink
Set upper bound for constraints when built with ghc < 7.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitsutoshi Aoe committed Dec 28, 2014
1 parent 1b3f3fc commit 02878c9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions lifted-async.cabal
Expand Up @@ -36,8 +36,13 @@ library
, transformers-base >= 0.4 && < 0.5
if flag(monad-control-1)
build-depends:
constraints == 0.4.*
, monad-control == 1.0.*
monad-control == 1.0.*
if impl(ghc >= 7.8)
build-depends:
constraints >= 0.2 && < 0.5
else
build-depends:
constraints >= 0.2 && <= 0.4
else
build-depends:
monad-control == 0.*
Expand Down

0 comments on commit 02878c9

Please sign in to comment.