From e4cb74d8572d614db881739039fcc09f2bf5afe9 Mon Sep 17 00:00:00 2001 From: Gautier DI FOLCO Date: Sun, 16 Oct 2022 10:27:14 +0200 Subject: [PATCH] fixup! Add PackageInfos_ (#3909) --- Cabal/src/Distribution/PackageDescription/Check.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 "