diff --git a/aws-checkip/aws-checkip.cabal b/aws-checkip/aws-checkip.cabal index 5d0cc002..8d16243d 100644 --- a/aws-checkip/aws-checkip.cabal +++ b/aws-checkip/aws-checkip.cabal @@ -1,6 +1,6 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.35.2. +-- This file has been generated from package.yaml by hpack version 0.36.0. -- -- see: https://github.com/sol/hpack @@ -78,11 +78,13 @@ library , unliftio default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints test-suite test type: exitcode-stdio-1.0 @@ -141,8 +143,10 @@ test-suite test , unliftio default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints diff --git a/aws-rds/aws-rds.cabal b/aws-rds/aws-rds.cabal index ad0a077f..7f2c9165 100644 --- a/aws-rds/aws-rds.cabal +++ b/aws-rds/aws-rds.cabal @@ -1,6 +1,6 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.35.5. +-- This file has been generated from package.yaml by hpack version 0.36.0. -- -- see: https://github.com/sol/hpack @@ -77,11 +77,13 @@ library , stratosphere-iam default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints test-suite test type: exitcode-stdio-1.0 @@ -139,8 +141,10 @@ test-suite test , text default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints diff --git a/aws-secrets/aws-secrets.cabal b/aws-secrets/aws-secrets.cabal index df48c669..56b16d25 100644 --- a/aws-secrets/aws-secrets.cabal +++ b/aws-secrets/aws-secrets.cabal @@ -84,11 +84,13 @@ library , unliftio default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints test-suite test type: exitcode-stdio-1.0 @@ -152,8 +154,10 @@ test-suite test , unliftio default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints diff --git a/aws-temporary-ingress-rule/aws-temporary-ingress-rule.cabal b/aws-temporary-ingress-rule/aws-temporary-ingress-rule.cabal index 0565808c..243a565a 100644 --- a/aws-temporary-ingress-rule/aws-temporary-ingress-rule.cabal +++ b/aws-temporary-ingress-rule/aws-temporary-ingress-rule.cabal @@ -1,6 +1,6 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.35.4. +-- This file has been generated from package.yaml by hpack version 0.36.0. -- -- see: https://github.com/sol/hpack @@ -93,11 +93,13 @@ library , unliftio default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints test-suite test type: exitcode-stdio-1.0 @@ -170,8 +172,10 @@ test-suite test , unliftio default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints diff --git a/bounded/bounded.cabal b/bounded/bounded.cabal index b4001c89..35948267 100644 --- a/bounded/bounded.cabal +++ b/bounded/bounded.cabal @@ -74,11 +74,13 @@ library , text default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints test-suite readme type: exitcode-stdio-1.0 @@ -122,11 +124,13 @@ test-suite readme , text default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints test-suite test type: exitcode-stdio-1.0 @@ -181,8 +185,10 @@ test-suite test , type-spec default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints diff --git a/cbt/cbt.cabal b/cbt/cbt.cabal index 05a055e3..93ae71cb 100644 --- a/cbt/cbt.cabal +++ b/cbt/cbt.cabal @@ -101,11 +101,13 @@ library , uuid >=1.3 default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints test-suite test type: exitcode-stdio-1.0 @@ -174,8 +176,10 @@ test-suite test , uuid >=1.3 default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints diff --git a/cli-utils/cli-utils.cabal b/cli-utils/cli-utils.cabal index 84ea920c..3945df24 100644 --- a/cli-utils/cli-utils.cabal +++ b/cli-utils/cli-utils.cabal @@ -1,6 +1,6 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.35.2. +-- This file has been generated from package.yaml by hpack version 0.36.0. -- -- see: https://github.com/sol/hpack @@ -67,11 +67,13 @@ library , optparse-applicative default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints test-suite test type: exitcode-stdio-1.0 @@ -118,8 +120,10 @@ test-suite test , tasty default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints diff --git a/common/package.yaml b/common/package.yaml index 3a6f8ef5..6f65ac5f 100644 --- a/common/package.yaml +++ b/common/package.yaml @@ -12,14 +12,16 @@ when: - condition: flag(development) then: - ghc-options: - - -Werror - - -fplugin=SourceConstraints - dependencies: - - source-constraints + ghc-options: -Werror else: ghc-options: -Wwarn + # GHC 9.6 currently doesn't play nice with plugins when stack + # https://github.com/commercialhaskell/stack/issues/6251 + - condition: impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + dependencies: source-constraints + ghc-options: - -Wall - -Wcompat diff --git a/conversions/conversions.cabal b/conversions/conversions.cabal index aa3301a3..e21e78fa 100644 --- a/conversions/conversions.cabal +++ b/conversions/conversions.cabal @@ -1,6 +1,6 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.35.2. +-- This file has been generated from package.yaml by hpack version 0.36.0. -- -- see: https://github.com/sol/hpack @@ -75,11 +75,13 @@ library , text default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints test-suite test type: exitcode-stdio-1.0 @@ -131,8 +133,10 @@ test-suite test , text default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints diff --git a/dbt/dbt.cabal b/dbt/dbt.cabal index bb367796..e688557c 100644 --- a/dbt/dbt.cabal +++ b/dbt/dbt.cabal @@ -97,11 +97,13 @@ library , unliftio-core >=0.2 default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints executable dbt main-is: Main.hs @@ -167,11 +169,13 @@ executable dbt , unliftio-core >=0.2 default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints if flag(development) buildable: True else @@ -246,8 +250,10 @@ test-suite test , unliftio-core >=0.2 default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints diff --git a/devtools/devtools.cabal b/devtools/devtools.cabal index b1d097c7..e1f00513 100644 --- a/devtools/devtools.cabal +++ b/devtools/devtools.cabal @@ -1,6 +1,6 @@ cabal-version: 1.18 --- This file has been generated from package.yaml by hpack version 0.35.2. +-- This file has been generated from package.yaml by hpack version 0.36.0. -- -- see: https://github.com/sol/hpack @@ -66,11 +66,13 @@ library , typed-process >=0.2 default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints test-suite test type: exitcode-stdio-1.0 @@ -104,8 +106,10 @@ test-suite test , typed-process >=0.2 default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints diff --git a/http-mclient/http-mclient.cabal b/http-mclient/http-mclient.cabal index 3261137f..a9b38a72 100644 --- a/http-mclient/http-mclient.cabal +++ b/http-mclient/http-mclient.cabal @@ -1,6 +1,6 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.35.2. +-- This file has been generated from package.yaml by hpack version 0.36.0. -- -- see: https://github.com/sol/hpack @@ -84,11 +84,13 @@ library , unliftio default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints test-suite test type: exitcode-stdio-1.0 @@ -151,8 +153,10 @@ test-suite test , warp default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints diff --git a/lambda-alb/lambda-alb.cabal b/lambda-alb/lambda-alb.cabal index 4a2370bd..09d0cbc9 100644 --- a/lambda-alb/lambda-alb.cabal +++ b/lambda-alb/lambda-alb.cabal @@ -1,6 +1,6 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.35.2. +-- This file has been generated from package.yaml by hpack version 0.36.0. -- -- see: https://github.com/sol/hpack @@ -83,11 +83,13 @@ library , text default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints test-suite test type: exitcode-stdio-1.0 @@ -141,8 +143,10 @@ test-suite test , text default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints diff --git a/lambda-runtime/lambda-runtime.cabal b/lambda-runtime/lambda-runtime.cabal index b968a705..13f88081 100644 --- a/lambda-runtime/lambda-runtime.cabal +++ b/lambda-runtime/lambda-runtime.cabal @@ -1,6 +1,6 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.35.4. +-- This file has been generated from package.yaml by hpack version 0.36.0. -- -- see: https://github.com/sol/hpack @@ -86,11 +86,13 @@ library , xray default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints test-suite test type: exitcode-stdio-1.0 @@ -145,8 +147,10 @@ test-suite test , xray default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints diff --git a/lht/lht.cabal b/lht/lht.cabal index a047ca22..789c14c7 100644 --- a/lht/lht.cabal +++ b/lht/lht.cabal @@ -93,11 +93,13 @@ library , zip-archive >=0.4 default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints test-suite test type: exitcode-stdio-1.0 @@ -165,8 +167,10 @@ test-suite test , zip-archive >=0.4 default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints diff --git a/mio-amazonka/mio-amazonka.cabal b/mio-amazonka/mio-amazonka.cabal index 654ba584..24597d28 100644 --- a/mio-amazonka/mio-amazonka.cabal +++ b/mio-amazonka/mio-amazonka.cabal @@ -72,11 +72,13 @@ library , unliftio-core >=0.2 default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints test-suite test type: exitcode-stdio-1.0 @@ -126,8 +128,10 @@ test-suite test , unliftio-core >=0.2 default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints diff --git a/mio-core/mio-core.cabal b/mio-core/mio-core.cabal index ddd4da2c..26f3ea9a 100644 --- a/mio-core/mio-core.cabal +++ b/mio-core/mio-core.cabal @@ -1,6 +1,6 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.35.2. +-- This file has been generated from package.yaml by hpack version 0.36.0. -- -- see: https://github.com/sol/hpack @@ -70,11 +70,13 @@ library , unliftio-core default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints test-suite test type: exitcode-stdio-1.0 @@ -122,8 +124,10 @@ test-suite test , unliftio-core default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints diff --git a/mio-log/mio-log.cabal b/mio-log/mio-log.cabal index 21433f16..4bf98922 100644 --- a/mio-log/mio-log.cabal +++ b/mio-log/mio-log.cabal @@ -1,6 +1,6 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.35.2. +-- This file has been generated from package.yaml by hpack version 0.36.0. -- -- see: https://github.com/sol/hpack @@ -75,11 +75,13 @@ library , time default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints test-suite test type: exitcode-stdio-1.0 @@ -132,8 +134,10 @@ test-suite test , time default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints diff --git a/mprelude/mprelude.cabal b/mprelude/mprelude.cabal index 423d7b9e..96f3af52 100644 --- a/mprelude/mprelude.cabal +++ b/mprelude/mprelude.cabal @@ -66,11 +66,13 @@ library , unliftio-core >=0.2 default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints test-suite test type: exitcode-stdio-1.0 @@ -104,8 +106,10 @@ test-suite test , unliftio-core >=0.2 default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints diff --git a/oauth/oauth.cabal b/oauth/oauth.cabal index 487f81ae..6ecfa666 100644 --- a/oauth/oauth.cabal +++ b/oauth/oauth.cabal @@ -1,6 +1,6 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.35.2. +-- This file has been generated from package.yaml by hpack version 0.36.0. -- -- see: https://github.com/sol/hpack @@ -86,11 +86,13 @@ library , text default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints test-suite test type: exitcode-stdio-1.0 @@ -146,8 +148,10 @@ test-suite test , text default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints diff --git a/openapi/openapi.cabal b/openapi/openapi.cabal index b35c4eb0..3cc7595d 100644 --- a/openapi/openapi.cabal +++ b/openapi/openapi.cabal @@ -103,11 +103,13 @@ library , yaml >=0.11 default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints test-suite tasty type: exitcode-stdio-1.0 @@ -161,8 +163,10 @@ test-suite tasty , yaml >=0.11 default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints diff --git a/pgt/pgt.cabal b/pgt/pgt.cabal index 15322dc9..c17f48f6 100644 --- a/pgt/pgt.cabal +++ b/pgt/pgt.cabal @@ -1,6 +1,6 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.35.2. +-- This file has been generated from package.yaml by hpack version 0.36.0. -- -- see: https://github.com/sol/hpack @@ -120,11 +120,13 @@ library , vector default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints executable pgt main-is: Main.hs @@ -190,11 +192,13 @@ executable pgt , vector default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints if flag(build-executable) buildable: True else @@ -268,8 +272,10 @@ test-suite test , vector default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints diff --git a/stack-deploy/stack-deploy.cabal b/stack-deploy/stack-deploy.cabal index af2b4e3e..65750d6b 100644 --- a/stack-deploy/stack-deploy.cabal +++ b/stack-deploy/stack-deploy.cabal @@ -1,6 +1,6 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.35.4. +-- This file has been generated from package.yaml by hpack version 0.36.0. -- -- see: https://github.com/sol/hpack @@ -122,11 +122,13 @@ library , vector >=0.12 default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints test-suite test type: exitcode-stdio-1.0 @@ -206,8 +208,10 @@ test-suite test , vector >=0.12 default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints diff --git a/tasty-mgolden/tasty-mgolden.cabal b/tasty-mgolden/tasty-mgolden.cabal index bb8e7048..5ddd3c46 100644 --- a/tasty-mgolden/tasty-mgolden.cabal +++ b/tasty-mgolden/tasty-mgolden.cabal @@ -1,6 +1,6 @@ cabal-version: 1.18 --- This file has been generated from package.yaml by hpack version 0.35.2. +-- This file has been generated from package.yaml by hpack version 0.36.0. -- -- see: https://github.com/sol/hpack @@ -56,11 +56,13 @@ library , text default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints executable tasty-mgolden-example main-is: example/Test.hs @@ -85,11 +87,13 @@ executable tasty-mgolden-example , text default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints if flag(development) buildable: True else @@ -121,11 +125,13 @@ test-suite golden , typed-process default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints test-suite hlint type: exitcode-stdio-1.0 @@ -150,8 +156,10 @@ test-suite hlint , text default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints diff --git a/xray/xray.cabal b/xray/xray.cabal index a46af9ec..165a6202 100644 --- a/xray/xray.cabal +++ b/xray/xray.cabal @@ -94,11 +94,13 @@ library , unordered-containers default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints test-suite test type: exitcode-stdio-1.0 @@ -165,8 +167,10 @@ test-suite test , xray default-language: Haskell2010 if flag(development) - ghc-options: -Werror -fplugin=SourceConstraints - build-depends: - source-constraints + ghc-options: -Werror else ghc-options: -Wwarn + if impl(ghc < 9.6) + ghc-options: -fplugin=SourceConstraints + build-depends: + source-constraints