haskell / haskell/cabal

Misleading suggestion in renderTargetProblemNoneEnabled

Open
#7,524 2 comments 0 reactions 0 assignees View on GitHub
attention: pr-welcome re: benchmarks re: error-message type: bug
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

https://github.com/haskell/cabal/blob/a8d47c3c71767414add8177b538f1783528f5cd6/cabal-install/src/Distribution/Client/CmdErrorMessages.hs#L328-L336

This suggests putting `tests: True` even if `stanza` is a benchmark suite. E. g.,

```
cabal: Cannot benchmark the package chimera-0.3.1.0 because none of the
components are available to build: the benchmark 'chimera-bench' is not
available because the solver did not find a plan that included the benchmarks.
Force the solver to enable this for all packages by adding the line 'tests:
True' to the 'cabal.project.local' file.
```

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.