A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/commercialhaskell/stack/issues/3362 below:

'stack hoogle generate' erroneously considers packages to be missing documentation · Issue #3362 · commercialhaskell/stack · GitHub

General summary/comments (optional)

"stack hoogle generate --rebuild -- --local" gives "Packages missing documentation" for 'vector' package. This is a regression from Stack 1.4.0 to 1.5.0. The issue remains in 1.5.1.

Steps to reproduce

This was reproduced on Fedora 22 using downloaded stack binary ~/.local/bin/stack.

$ stack upgrade --binary-version 1.5.1 # Also repros with 1.5.0 but not with 1.4.0.
$ rm -rf ~/.stack
$ stack new --resolver=lts-9.1 doc
$ cd doc
$ vim doc.cabal # Add vector to the library build-depends
$ stack setup
$ stack haddock
$ stack hoogle generate --rebuild -- --local

The stack hoogle command complains about "Packages missing documentation" and 'vector' is one of the affected packages. There's nothing special about 'vector'. I'm just using it as an example of a package affected by this issue.

Expected

'vector' should not be one of the "packages missing documentation".

Actual
...
Generated DB.
Starting generate
Reading ghc-pkg... 0.02s
[6/30] containers... 0.11s
[10/30] ghc... 1.87s
[26/30] xhtml... 0.05s
Packages missing documentation: doc primitive rts vector
Found 42 warnings when processing items
...
Stack version

Repros with 1.5.0 & 1.5.1 but not with 1.4.0.

$  stack --version
Version 1.5.1, Git revision 600c1f01435a10d127938709556c1682ecfd694e (4861 commits) x86_64 hpack-0.17.1
Method of installation

lexi-lambda, CarstenKoenig, picnoir, kokobd and korayal


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4