haskell / haskell/cabal

setup haddock fails for packages without modules

Open
#944 3 comments 0 reactions 0 assignees View on GitHub
Cabal: cmd/haddock meta: easy type: bug
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

(Imported from [Trac #954](http://hackage.haskell.org/trac/hackage/ticket/954), reported by @nomeata on 2012-05-20)

[http://hackage.haskell.org/package/diagrams-0.5](http://hackage.haskell.org/package/diagrams-0.5) is a meta-package, i.e. only depends on other packages. Running setup haddock fails:

$ ./Setup haddock --hyperlink-source

Running Haddock for diagrams-0.5...
Running hscolour for diagrams-0.5...
Preprocessing library diagrams-0.5...
Warning: The documentation for the following packages are not installed. No
links will be generated to these packages: rts-1.0
Preprocessing library diagrams-0.5...
haddock: No input file(s).
Not a big deal, but still a corner-case that could be fixed.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.