Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ghc 9.6.3 and 9.8.1 build #1

Merged
merged 1 commit into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions cabal.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
packages: .

package amazonka-rds-data
ghc-options: -XDuplicateRecordFields

package amazonka-sso
ghc-options: -XDuplicateRecordFields

package amazonka-sts
ghc-options: -XDuplicateRecordFields
5 changes: 4 additions & 1 deletion rds-data-codecs.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ common doctest-discover { build-depends: doctest-discover >=
common generic-lens { build-depends: generic-lens >= 2.2.2.0 && < 3 }
common hedgehog { build-depends: hedgehog >= 1.4 && < 2 }
common hedgehog-extras { build-depends: hedgehog-extras >= 0.6.0.2 && < 0.7 }
common http-client { build-depends: http-client >= 0.5.14 && < 0.6 }
common http-client { build-depends: http-client >= 0.5.14 && < 0.8 }
common lens { build-depends: lens >= 5.2.3 && < 6 }
common mtl { build-depends: mtl >= 2 && < 3 }
common optparse-applicative { build-depends: optparse-applicative >= 0.18.1.0 && < 0.19 }
Expand All @@ -73,6 +73,9 @@ common project-config
-Wredundant-constraints
-Wunused-imports

if impl(ghc < 9.8)
ghc-options: -Wno-unused-imports

library
import: base, project-config
, aeson
Expand Down
3 changes: 2 additions & 1 deletion src/Data/RdsData/Decode/Row.hs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ module Data.RdsData.Decode.Row
import Control.Monad.Except
import Control.Monad.State
import Data.ByteString (ByteString)
import Data.Functor.Identity
import Control.Monad
import Data.Functor.Identity ( Identity )
import Data.Int
import Data.RdsData.Decode.Value (DecodeValue)
import Data.RdsData.Types.Value
Expand Down
Loading