-
Notifications
You must be signed in to change notification settings - Fork 697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
haddock-project --local
does not copy non-boot dependencies to output dir
#8958
Comments
Thanks for the report! Any thoughts, @coot? |
The build plan which |
Thanks for the quick reply ❤️
I think direct dependencies (like
Full logs
|
I think it will if you add
|
Ah right, thanks, no wonder it did not work as I only enabled documentation for package *
documentation: True |
`haddock-project` command need to build the project so that haddocks of the dependencies are available in the store. Fixes #8958.
`haddock-project` command need to build the project so that haddocks of the dependencies are available in the store. Fixes #8958.
`haddock-project` command need to build the project so that haddocks of the dependencies are available in the store. Fixes #8958.
`haddock-project` command need to build the project so that haddocks of the dependencies are available in the store. Fixes #8958.
`haddock-project` command need to build the project so that haddocks of the dependencies are available in the store. Fixes #8958.
`haddock-project` command need to build the project so that haddocks of the dependencies are available in the store. Fixes #8958.
`haddock-project` command need to build the project so that haddocks of the dependencies are available in the store. Fixes #8958.
`haddock-project` command need to build the project so that haddocks of the dependencies are available in the store. Fixes #8958.
`haddock-project` command need to build the project so that haddocks of the dependencies are available in the store. Fixes #8958.
Describe the bug
At least the blog post indicates that all dependencies (not just boot deps) should be supported:
The code has a similar comment:
cabal/cabal-install/src/Distribution/Client/CmdHaddockProject.hs
Lines 302 to 304 in 9bf415a
To Reproduce
https://github.com/amesgen/stuff/tree/cabal-haddock-project-deps
Note that
resourcet
(a dependency of the test project) is not present.Expected behavior
I would expect all dependencies to be copied to the output, or alternatively an indication in the documentation that it only works for boot deps.
System information
cabal
3.10.1.0,ghc
9.4.5The text was updated successfully, but these errors were encountered: