haskell.nix
haskell.nix copied to clipboard
Do I need documentation: True in cabal.project to get documentation built for dependencies
I have withHoogle = true in shellFor, but when I run :doc in cabal repl. I get an error
ghc: Can't find any documentation for Network.HTTP.Req.
This is probably because the module was compiled without '-haddock',
but it's also possible that the module contains no documentation.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I'm having the same issue. Is there anything I can do to debug?
you can explicitly pass -haddock option to ghcOptions in the modules to get it working while waiting for it to be fixed (this should also give you documentation on hover when using hls)
That works! Thanks!