Misleading suggestion in renderTargetProblemNoneEnabled
Open
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
Assessment
This issue has not been assessed yet.