diff --git a/src/lib/Data/Umzug/Core.hs b/src/lib/Data/Umzug/Core.hs index 18e6005..277fdad 100644 --- a/src/lib/Data/Umzug/Core.hs +++ b/src/lib/Data/Umzug/Core.hs @@ -3,6 +3,7 @@ {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE RankNTypes #-} {-# LANGUAGE ScopedTypeVariables #-} +{-# LANGUAGE CPP #-} module Data.Umzug.Core ( -- * Running migrations @@ -42,7 +43,9 @@ import Control.Monad import Control.Monad.Trans.Reader (ReaderT(runReaderT)) import Data.Foldable import qualified Data.List as List +#if !MIN_VERSION_base(4,11,0) import Data.Monoid +#endif import Data.Text (Text) import qualified Data.Text as T import Data.Time (UTCTime) diff --git a/umzug.cabal b/umzug.cabal index b27bf88..ba037f4 100644 --- a/umzug.cabal +++ b/umzug.cabal @@ -19,7 +19,7 @@ library build-depends: base (>=4.6 && <5.0) , blaze-builder (>=0.3 && <0.5) - , postgresql-simple (>=0.5 && <0.6) + , postgresql-simple (>=0.5 && <0.7) , text (>=0.11 && <1.3) - , time (>=1.4 && <1.7) + , time (>=1.4 && <1.9) , transformers (>=0.3 && < 0.6)