haskell / haskell/cabal

cabal new-haddock --ghcjs fails to build

Open
#5,840 2 comments 0 reactions 0 assignees View on GitHub
compiler: ghcjs
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

When building with ghcjs, haddock build fails. To reproduce use the following command in https://github.com/composewell/streamly repo:

```
cabal new-haddock --project-file cabal.project.ghcjs
```

This is the error produced ultimately:

```
Haddock's resource directory does not exist!

Warning: Failed to build documentation for streamly-0.6.0.
```

This same issue occurs when building the ghcjs compiler itself as well using `cabal new-build`. See ghcjs/ghcjs#653 .

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.