How can I generate documentation, possibly with a local hoogle
server, with cabal and nix?
I know there is a cabal new-haddock
command, but it throws an error:
cabal: renderBuildTargetProblem: unexpected status (TargetDisabledByUser,Nothing)
CallStack (from HasCallStack):
error, called at ./Distribution/Client/CmdErrorMessages.hs:329:14 in main:Distribution.Client.CmdErrorMessages
And it seems like it is used to build documentation of my project, not of my dependencies anyway.