From 24c52475b1d5284dce92f3ac1277e2e63e8bf8c4 Mon Sep 17 00:00:00 2001 From: Simon Jakobi Date: Wed, 3 Feb 2021 00:39:55 +0100 Subject: [PATCH 1/2] Allow bytestring 0.11 http://hackage.haskell.org/package/bytestring-0.11.0.0/changelog --- aeson-yaml.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aeson-yaml.cabal b/aeson-yaml.cabal index cc86c0d..f0e438e 100644 --- a/aeson-yaml.cabal +++ b/aeson-yaml.cabal @@ -39,7 +39,7 @@ library build-depends: aeson >= 0.4.0.0 && < 1.6 , base >= 4.8.2.0 && < 5 - , bytestring >= 0.10.4.0 && < 0.11 + , bytestring >= 0.10.4.0 && < 0.12 , text >= 0.1 && < 1.3 , unordered-containers >= 0.1.0.0 && < 0.3 , vector >= 0.1 && < 0.13 From 1a372f32afed112cba9736019f0a1c7568a12f0b Mon Sep 17 00:00:00 2001 From: Simon Jakobi Date: Wed, 3 Feb 2021 00:40:15 +0100 Subject: [PATCH 2/2] Specify tasty-discover dependency as build-tool-depends Otherwise cabal doesn't know that it needs to build the tasty-discover executable. Docs: https://cabal.readthedocs.io/en/latest/cabal-package.html?highlight=build-tool#pkg-field-build-tool-depends Signed-off-by: Simon Jakobi --- aeson-yaml.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aeson-yaml.cabal b/aeson-yaml.cabal index f0e438e..3b610dc 100644 --- a/aeson-yaml.cabal +++ b/aeson-yaml.cabal @@ -61,10 +61,10 @@ test-suite test -- , hedgehog-gen-json , string-qq , tasty - , tasty-discover , tasty-hunit , unordered-containers , yaml + build-tool-depends: tasty-discover:tasty-discover type: exitcode-stdio-1.0 default-language: Haskell2010