diff --git a/hledger-ui/Hledger/UI/Main.hs b/hledger-ui/Hledger/UI/Main.hs index 038cd063e..59fa50470 100644 --- a/hledger-ui/Hledger/UI/Main.hs +++ b/hledger-ui/Hledger/UI/Main.hs @@ -16,7 +16,9 @@ import Control.Concurrent (threadDelay) import Control.Concurrent.Async import Control.Monad -- import Control.Monad.IO.Class (liftIO) +#if !MIN_VERSION_vty(0,15,0) import Data.Default (def) +#endif -- import Data.Monoid -- import Data.List import Data.Maybe diff --git a/hledger-ui/package.yaml b/hledger-ui/package.yaml index f3972c6ff..0d3800cd2 100644 --- a/hledger-ui/package.yaml +++ b/hledger-ui/package.yaml @@ -88,8 +88,8 @@ executables: buildable: false else: dependencies: - - brick >= 0.12 && < 0.17 - - vty >= 5.5 && < 5.15 + - brick >= 0.12 && < 0.18 + - vty >= 5.5 && < 5.16 - condition: flag(threaded) ghc-options: -threaded - condition: flag(oldtime)