graphql-engine/cabal
Auke Booij a5325d6aea server: fix cabal files; apply ghc warnings more strictly
- In a previous PR we made more use of `common` stanzas, but these require `cabal-version: 2.2` (so some of those stanzas were not functional before this PR). This just bumps the `cabal-version`s straight to 3.6, which is the latest version we support in CI, where we build with cabal 3.6.
- This `cabal-version` upgrade required fixing a few `license` fields, from `BSD3` to `BSD-3-Clause`. I've also added `default-language` fields where appropriate, although this is perhaps optional.
- Using cabal's [syntax for applying options to all _local_ packages](https://cabal.readthedocs.io/en/3.8/cabal-project.html#package-configuration-options), we unify the cabal configuration, and apply `-Werror` to all local packages, which wasn't the case until now.
- Applying `-Werror` to all local packages required a few additional exceptions to the warnings that were switched on in hasura/graphql-engine-mono#7614.
- Deleted SCM links to the original pool library.

Overall, the effect of this PR is:
- more warnings
- stricter compilation
- ~~less cabal configuration~~

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7730
GitOrigin-RevId: 592e9e46d103bcc8726df5b745306bd9f77f7efc
2023-01-31 18:25:42 +00:00
..
ci-haddock.project server: Clean up Cabal project files 2022-04-07 07:16:12 +00:00
ci-haddock.project.freeze server: Clean up Cabal project files 2022-04-07 07:16:12 +00:00
ci-haddock.project.local Fix build errors related to dynamic building 2022-11-21 15:07:53 +00:00
ci.project server: Clean up Cabal project files 2022-04-07 07:16:12 +00:00
ci.project.freeze server: Clean up Cabal project files 2022-04-07 07:16:12 +00:00
ci.project.local server: -O1 + -funfolding-use-threshold=640, for memory residency 2022-11-30 17:05:15 +00:00
dev-sh.project server: Clean up Cabal project files 2022-04-07 07:16:12 +00:00
dev-sh.project.freeze server: Clean up Cabal project files 2022-04-07 07:16:12 +00:00
dev-sh.project.local server: fix cabal files; apply ghc warnings more strictly 2023-01-31 18:25:42 +00:00
dev.project server: GHC 9.2 changes compatible with 8.10 (#3550) 2022-06-25 22:09:05 +00:00