From d037989355171bfe23742624b9a7bbcf42b1649a Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sat, 23 Jul 2016 09:22:58 -0700 Subject: [PATCH] ui: try hiding problem deps on windows as well #376 --- hledger-ui/hledger-ui.cabal | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/hledger-ui/hledger-ui.cabal b/hledger-ui/hledger-ui.cabal index 5e4b225e6..1eeb474da 100644 --- a/hledger-ui/hledger-ui.cabal +++ b/hledger-ui/hledger-ui.cabal @@ -62,7 +62,6 @@ executable hledger-ui , ansi-terminal >= 0.6.2.3 && < 0.7 , base >= 3 && < 5 , base-compat >= 0.8.1 - , brick >= 0.2 && < 0.7 , cmdargs >= 0.8 , containers , data-default @@ -78,8 +77,11 @@ executable hledger-ui , text-zipper >= 0.4 && < 0.5 , transformers , vector - , vty >= 5.2 && < 5.8 - if os(windows) + if !os(windows) + build-depends: + brick >= 0.2 && < 0.7 + ,vty >= 5.2 && < 5.8 + else buildable: False if flag(threaded) ghc-options: -threaded