From f62797bdb7fbf99186857acc0dc9ff5eaea0a130 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sat, 1 Aug 2020 12:43:40 -0700 Subject: [PATCH] ;ui: cabal: simplify dep list to help packdeps reverse deps (cf snoyberg/packdeps#51) --- hledger-ui/hledger-ui.cabal | 10 +++++----- hledger-ui/package.yaml | 9 +++++---- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/hledger-ui/hledger-ui.cabal b/hledger-ui/hledger-ui.cabal index 92a09695a..16c64749c 100644 --- a/hledger-ui/hledger-ui.cabal +++ b/hledger-ui/hledger-ui.cabal @@ -4,7 +4,7 @@ cabal-version: 1.12 -- -- see: https://github.com/sol/hpack -- --- hash: 69306ba4d4fa65c6f9bd30b888fb32ff3bb2c88cd2cac3f58282b108c699d74e +-- hash: 4508b3e1554f07f5381ff30cf41a11d1ddd090adf8ce181d3d5aba990fd29813 name: hledger-ui version: 1.18.99 @@ -70,6 +70,7 @@ executable hledger-ui , async , base >=4.9 && <4.15 , base-compat-batteries >=0.10.1 && <0.12 + , brick >=0.23 , cmdargs >=0.8 , containers , data-default @@ -90,14 +91,13 @@ executable hledger-ui , text-zipper >=0.4 , time >=1.5 , transformers + , unix , vector + , vty >=5.5 if os(windows) buildable: False else - build-depends: - brick >=0.23 - , unix - , vty >=5.5 + buildable: True if flag(threaded) ghc-options: -threaded default-language: Haskell2010 diff --git a/hledger-ui/package.yaml b/hledger-ui/package.yaml index adba20277..d8011b480 100644 --- a/hledger-ui/package.yaml +++ b/hledger-ui/package.yaml @@ -66,6 +66,10 @@ dependencies: - time >=1.5 - transformers - vector +# not installable on windows, cf buildable flag below +- brick >=0.23 +- vty >=5.5 +- unix when: # curses is required to build terminfo for vty for hledger-ui. @@ -82,10 +86,7 @@ when: then: buildable: false else: - dependencies: - - brick >=0.23 - - unix - - vty >=5.5 + buildable: true executables: hledger-ui: