diff --git a/Cabal/src/Distribution/Simple/Haddock.hs b/Cabal/src/Distribution/Simple/Haddock.hs index 5c534c01d04ae25075f7cd3acf2cd30128ac7a4d..29d5f80e1ecdbd7f7dc6f157898d908e68cd9023 100644 --- a/Cabal/src/Distribution/Simple/Haddock.hs +++ b/Cabal/src/Distribution/Simple/Haddock.hs @@ -1382,7 +1382,7 @@ haddockPackagePaths ipkgs mkHtmlPath = do let missing = [pkgid | Left pkgid <- interfaces] warning = - "The documentation for the following packages are not " + "The following packages have no Haddock documentation " ++ "installed. No links will be generated to these packages: " ++ intercalate ", " (map prettyShow missing) flags = rights interfaces diff --git a/changelog.d/issue-9694 b/changelog.d/issue-9694 new file mode 100644 index 0000000000000000000000000000000000000000..ac3fc2b1d8873e123dc527591e2b45d6318880d3 --- /dev/null +++ b/changelog.d/issue-9694 @@ -0,0 +1,4 @@ +synopsis: Don't imply that Haddock docs exist, when warning not installed +packages: Cabal +issues: #9694 +prs: #9695