diff --git a/Cabal/src/Distribution/PackageDescription/Check.hs b/Cabal/src/Distribution/PackageDescription/Check.hs index db97b04b93a..950872073a6 100644 --- a/Cabal/src/Distribution/PackageDescription/Check.hs +++ b/Cabal/src/Distribution/PackageDescription/Check.hs @@ -710,7 +710,7 @@ ppExplanation RebindableClashPackageInfos = "Packages using RebindableSyntax with OverloadedStrings or" ++ " OverloadedLists in default-extensions, in conjunction with the" ++ " autogenerated module PackageInfos_*, are known to cause compile failures" - ++ " with Cabal < 2.2. To use these default-extensions with a Paths_*" + ++ " with Cabal < 2.2. To use these default-extensions with a PackageInfos_*" ++ " autogen module, specify at least 'cabal-version: 2.2'." ppExplanation (WErrorUnneeded fieldName) = addConditionalExp $ "'" ++ fieldName ++ ": -Werror' makes the package easy to "