Skip to content

Commit

Permalink
MAke it build with 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
turboMaCk committed Dec 28, 2023
1 parent addf3d8 commit ce9b98f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 3 additions & 2 deletions aeson-combinators.cabal
Expand Up @@ -18,10 +18,10 @@ build-type: Simple
extra-source-files: README.md
, CHANGELOG.md
homepage: https://github.com/turboMaCk/aeson-combinators
tested-with: GHC == 8.8.4
, GHC == 8.10.7
tested-with: GHC == 8.10.7
, GHC == 9.0.2
, GHC == 9.2.5
, GHC == 9.8.1
, GHCJS == 8.6.0.1

Flag doctest
Expand All @@ -37,6 +37,7 @@ library
, bytestring
, text
, aeson
, attoparsec-aeson
, scientific
, vector
, unordered-containers
Expand Down
5 changes: 2 additions & 3 deletions lib/Data/Aeson/Combinators/Decode.hs
Expand Up @@ -109,11 +109,10 @@ import Data.Aeson.Internal (formatError, iparse)
#endif
#if MIN_VERSION_aeson(2,2,0)
import Data.Aeson.Types (JSONPath, JSONPathElement (..))
import Data.Aeson.Types (formatError, iparse)
#if !(MIN_VERSION_aeson(2,2,0))
import Data.Aeson.Types (formatError, iparse)
#endif
import qualified Data.Aeson.Parser as Parser
import qualified Data.Aeson.Parser.Internal as ParserI
#endif
import Data.Aeson.Types hiding (parseEither, parseMaybe)
import qualified Data.Aeson.Types as ATypes

Expand Down

0 comments on commit ce9b98f

Please sign in to comment.