I've got a project where I'm trying out the lens library. I'm trying to generate haddock docs so I can see the functions produced by the makeClassy
TemplateHaskell
function. cabal build
works fine, but cabal haddock
fails with
$ cabal haddock
Running Haddock for myproject-0.0.1...
Warning: The documentation for the following packages are not installed. No
links will be generated to these packages: rts-1.0
Preprocessing library myproject-0.0.1...
<command line>: cannot satisfy -package-id lens-3.7.1-a40583cdc124338f52ab40ebbf747e8f
(use -v for more information)
What am I missing?