commercialhaskell / commercialhaskell/stack

Special case for dependency mismatch on wired-in packages

Open
#2,696 0 comments 1 reaction 0 assignees View on GitHub
awaiting pull request component: output (UI/UX) help wanted
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

In https://github.com/commercialhaskell/stack/issues/2553 , there is the following output:

```
In the dependencies for haddock-issue-0.1.0.0:
base must match >=4.7 && <5, but the stack configuration has no specified version (latest applicable is 4.9.0.0)

Recommended action: try adding the following to your extra-deps in /home/simon/tmp/haddock-issue/stack.yaml:
- base-4.9.0.0
```

For wired-in packages, it would be good to suggest changing ghc version. For base versions, we could even consider hardcoding an association between base versions and ghc versions. This way, a different selection of compiler can be suggested as a possible "Recommended action"

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.