summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES5
-rw-r--r--Hledger/UI/AccountsScreen.hs2
-rw-r--r--Hledger/UI/RegisterScreen.hs2
-rw-r--r--Hledger/UI/UITypes.hs2
-rw-r--r--Hledger/UI/UIUtils.hs2
-rw-r--r--hledger-ui.cabal6
6 files changed, 12 insertions, 7 deletions
diff --git a/CHANGES b/CHANGES
index 4405330..ee8bcde 100644
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,11 @@ User-visible changes in hledger-ui.
See also the hledger changelog.
+# 1.12.1 (2018/12/10)
+
+* avoid build issue with brick 0.44+ (#935)
+
+
# 1.12 (2018/12/02)
* fix "Any" build error with GHC < 8.4
diff --git a/Hledger/UI/AccountsScreen.hs b/Hledger/UI/AccountsScreen.hs
index f27efc9..2ea5f74 100644
--- a/Hledger/UI/AccountsScreen.hs
+++ b/Hledger/UI/AccountsScreen.hs
@@ -12,7 +12,7 @@ module Hledger.UI.AccountsScreen
where
import Brick
-import Brick.Widgets.List
+import Brick.Widgets.List hiding (reverse)
import Brick.Widgets.Edit
import Control.Monad
import Control.Monad.IO.Class (liftIO)
diff --git a/Hledger/UI/RegisterScreen.hs b/Hledger/UI/RegisterScreen.hs
index 0b689e8..9d00b2b 100644
--- a/Hledger/UI/RegisterScreen.hs
+++ b/Hledger/UI/RegisterScreen.hs
@@ -24,7 +24,7 @@ import Data.Time.Calendar
import qualified Data.Vector as V
import Graphics.Vty (Event(..),Key(..),Modifier(..))
import Brick
-import Brick.Widgets.List
+import Brick.Widgets.List hiding (reverse)
import Brick.Widgets.Edit
import Lens.Micro.Platform
import Safe
diff --git a/Hledger/UI/UITypes.hs b/Hledger/UI/UITypes.hs
index 4394c79..b0dec1a 100644
--- a/Hledger/UI/UITypes.hs
+++ b/Hledger/UI/UITypes.hs
@@ -40,7 +40,7 @@ module Hledger.UI.UITypes where
import Data.Time.Calendar (Day)
import Brick
-import Brick.Widgets.List
+import Brick.Widgets.List hiding (reverse)
import Brick.Widgets.Edit (Editor)
import Lens.Micro.Platform
import Text.Show.Functions ()
diff --git a/Hledger/UI/UIUtils.hs b/Hledger/UI/UIUtils.hs
index 0d529c5..e8f3a51 100644
--- a/Hledger/UI/UIUtils.hs
+++ b/Hledger/UI/UIUtils.hs
@@ -29,7 +29,7 @@ import Brick.Widgets.Border
import Brick.Widgets.Border.Style
import Brick.Widgets.Dialog
import Brick.Widgets.Edit
-import Brick.Widgets.List
+import Brick.Widgets.List hiding (reverse)
import Control.Monad.IO.Class
import Data.List
import Data.Maybe
diff --git a/hledger-ui.cabal b/hledger-ui.cabal
index 7c2e23e..6f690d0 100644
--- a/hledger-ui.cabal
+++ b/hledger-ui.cabal
@@ -4,10 +4,10 @@ cabal-version: 1.12
--
-- see: https://github.com/sol/hpack
--
--- hash: 1abfa4ed0acf79d9240fa75603c4070b640238aa22fa2895a8e3d6155c33a481
+-- hash: 6eaadbd685786699b84803bd6d20d97c53ff8bd9c34b7d5457ba01e07c47f5f3
name: hledger-ui
-version: 1.12
+version: 1.12.1
synopsis: Curses-style user interface for the hledger accounting tool
description: This is hledger's curses-style interface.
It is simpler and more convenient for browsing data than the command-line interface,
@@ -64,7 +64,7 @@ executable hledger-ui
hs-source-dirs:
./.
ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans
- cpp-options: -DVERSION="1.12"
+ cpp-options: -DVERSION="1.12.1"
build-depends:
ansi-terminal >=0.6.2.3
, async