From 1f362101cc51dda840ac7f7023d7cc0453749aca Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 25 Jan 2017 09:42:10 -0800 Subject: [PATCH] ui: addenda for #494 --- hledger-ui/Hledger/UI/Main.hs | 2 ++ hledger-ui/package.yaml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) 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)