From edae3829df8b36f5a42e48050e4e025ef00bd0fd Mon Sep 17 00:00:00 2001 From: Mike Pilgrem <mpilgrem@users.noreply.github.com> Date: Sun, 4 Feb 2024 17:02:32 +0000 Subject: [PATCH] Fix #9694 Don't imply that Haddock docs exist, when warning not installed --- Cabal/src/Distribution/Simple/Haddock.hs | 2 +- changelog.d/issue-9694 | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 changelog.d/issue-9694 diff --git a/Cabal/src/Distribution/Simple/Haddock.hs b/Cabal/src/Distribution/Simple/Haddock.hs index 5c534c01d0..29d5f80e1e 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 0000000000..ac3fc2b1d8 --- /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 -- GitLab