lib: fix a deps problem in package.yaml breaking test suite with ghc 8.2

This commit is contained in:
Simon Michael 2017-08-25 14:39:35 -07:00
parent 5fdaff901d
commit d9e72d389e
2 changed files with 8 additions and 7 deletions

View File

@ -76,17 +76,17 @@ library
, mtl , mtl
, mtl-compat , mtl-compat
, old-time , old-time
, parsec
, pretty-show >=1.6.4 , pretty-show >=1.6.4
, regex-tdfa , regex-tdfa
, safe >=0.2 , safe >=0.2
, semigroups
, split >=0.1 && <0.3 , split >=0.1 && <0.3
, text >=1.2 && <1.3 , text >=1.2 && <1.3
, transformers >=0.2 && <0.6 , transformers >=0.2 && <0.6
, uglymemo , uglymemo
, utf8-string >=0.3.5 && <1.1 , utf8-string >=0.3.5 && <1.1
, HUnit , HUnit
, parsec
, semigroups
if impl(ghc <7.6) if impl(ghc <7.6)
build-depends: build-depends:
ghc-prim ghc-prim
@ -173,9 +173,11 @@ test-suite doctests
, mtl , mtl
, mtl-compat , mtl-compat
, old-time , old-time
, parsec
, pretty-show >=1.6.4 , pretty-show >=1.6.4
, regex-tdfa , regex-tdfa
, safe >=0.2 , safe >=0.2
, semigroups
, split >=0.1 && <0.3 , split >=0.1 && <0.3
, text >=1.2 && <1.3 , text >=1.2 && <1.3
, transformers >=0.2 && <0.6 , transformers >=0.2 && <0.6
@ -268,9 +270,11 @@ test-suite hunittests
, mtl , mtl
, mtl-compat , mtl-compat
, old-time , old-time
, parsec
, pretty-show >=1.6.4 , pretty-show >=1.6.4
, regex-tdfa , regex-tdfa
, safe >=0.2 , safe >=0.2
, semigroups
, split >=0.1 && <0.3 , split >=0.1 && <0.3
, text >=1.2 && <1.3 , text >=1.2 && <1.3
, transformers >=0.2 && <0.6 , transformers >=0.2 && <0.6
@ -278,7 +282,6 @@ test-suite hunittests
, utf8-string >=0.3.5 && <1.1 , utf8-string >=0.3.5 && <1.1
, HUnit , HUnit
, hledger-lib , hledger-lib
, parsec
, test-framework , test-framework
, test-framework-hunit , test-framework-hunit
if impl(ghc <7.6) if impl(ghc <7.6)

View File

@ -58,9 +58,11 @@ dependencies:
- mtl - mtl
- mtl-compat - mtl-compat
- old-time - old-time
- parsec
- pretty-show >=1.6.4 - pretty-show >=1.6.4
- regex-tdfa - regex-tdfa
- safe >=0.2 - safe >=0.2
- semigroups
- split >=0.1 && <0.3 - split >=0.1 && <0.3
- text >=1.2 && <1.3 - text >=1.2 && <1.3
- transformers >=0.2 && <0.6 - transformers >=0.2 && <0.6
@ -142,9 +144,6 @@ library:
- Text.Megaparsec.Compat - Text.Megaparsec.Compat
# other-modules: # other-modules:
# - Ledger.Parser.Text # - Ledger.Parser.Text
dependencies:
- parsec
- semigroups
tests: tests:
doctests: doctests:
main: doctests.hs main: doctests.hs
@ -157,7 +156,6 @@ tests:
source-dirs: tests source-dirs: tests
dependencies: dependencies:
- hledger-lib - hledger-lib
- parsec
- test-framework - test-framework
- test-framework-hunit - test-framework-hunit
stability: stable stability: stable