Skip to content

Commit edae382

Browse files
mpilgremMikolaj
authored andcommitted
Fix #9694 Don't imply that Haddock docs exist, when warning not installed
1 parent f988409 commit edae382

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Diff for: Cabal/src/Distribution/Simple/Haddock.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1382,7 +1382,7 @@ haddockPackagePaths ipkgs mkHtmlPath = do
13821382

13831383
let missing = [pkgid | Left pkgid <- interfaces]
13841384
warning =
1385-
"The documentation for the following packages are not "
1385+
"The following packages have no Haddock documentation "
13861386
++ "installed. No links will be generated to these packages: "
13871387
++ intercalate ", " (map prettyShow missing)
13881388
flags = rights interfaces

Diff for: changelog.d/issue-9694

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
synopsis: Don't imply that Haddock docs exist, when warning not installed
2+
packages: Cabal
3+
issues: #9694
4+
prs: #9695

0 commit comments

Comments
 (0)