haskell / haskell/cabal

Haddock for crypto-api-0.13.3 fails to build with Cabal 3.10.1.0

Open
#9,060 13 comments 2 reactions 0 assignees View on GitHub
blocked: upstream cabal-install: cmd/haddock can-workaround
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

**Describe the bug**
Haddock for crypto-api-0.13.3 fails to build with Cabal 3.10.1.0. It appears to work with older versions of Cabal, namely with 3.8.1.0.

First observed here:
https://github.com/mrkkrp/req/actions/runs/5349288540/jobs/9700788692?pr=150#step:10:356

**To Reproduce**

I was able to reproduce by clonning `crypto-api` and running `cabal haddock` from the root of the repo (not entirely sure that it is the same failure as on CI (see link above) but it fails as well).

**Expected behavior**

`cabal haddock` should succeed and generate Haddocks.

**System information**
- Operating system: ubuntu, NixOS
- `cabal`, `ghc` versions:

```
> cabal --version
cabal-install version 3.10.1.0
compiled using version 3.10.1.0 of the Cabal library
> ghc --version
The Glorious Glasgow Haskell Compilation System, version 9.2.7
```

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.