From e6bf2c6d67c5428f08b6aa4cf06a20cc312d3445 Mon Sep 17 00:00:00 2001 From: Francesco Ariis Date: Thu, 22 Sep 2022 10:35:37 +0200 Subject: [PATCH] Add changelog for #8427 --- changelog.d/pr-8427 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 changelog.d/pr-8427 diff --git a/changelog.d/pr-8427 b/changelog.d/pr-8427 new file mode 100644 index 00000000000..af5bf0e6c1e --- /dev/null +++ b/changelog.d/pr-8427 @@ -0,0 +1,15 @@ +synopsis: Reimplementing `cabal check` +packages: Cabal +prs: #8427 +issues: #7423 + +description: { + +- For `cabal-install` users: `cabal check` do not warn on -O2 or similar + options if under an off-by-default cabal flag. +- For `Cabal` the library users: `checkPackage` signature has been simplified, + you do not need to pass a specific configuration of the package, since + we do not flatten GenericPackageDescription no more. +- For `Cabal` the library users: `checkPackageFileNames` has been removed, + use `checkPackageFiles` instead. +}