commercialhaskell/stack

Special case for dependency mismatch on wired-in packages

Offen

#2.696 geöffnet am 10.10.2016

 (0 Kommentare) (1 Reaktion) (0 zugewiesene Personen)Haskell (848 Forks)batch import
awaiting pull requestcomponent: output (UI/UX)help wanted

Repository-Metriken

Stars
 (4.060 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 17T 10h) (6 gemergte PRs in 30 T)

Beschreibung

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