stack install ghc-mod fails with dependencies conflicts on OSX 10.13.4

前端 未结 3 1783
情歌与酒
情歌与酒 2021-01-12 10:05

When I try to install ghc-mod via stack I end up having these depencies conflicts

Error: While constructing the build plan, the following exceptions were enc         


        
相关标签:
3条回答
  • 2021-01-12 10:12

    The issue is that ghc-mod does not support newer versions of GHC, I believe the last supported version is GHC 8.0. You can try changing your Stack resolver to lts-8.24 or nightly-2017-06-28 (see the snapshots listed on ghc-mod's Stackage page).

    0 讨论(0)
  • 2021-01-12 10:20

    input command line:

    stack install ghc-mod --resolver lts-8.24

    it really helps.

    0 讨论(0)
  • 2021-01-12 10:23

    Even easier, this worked for me: stack install ghc-mod --resolver lts-8.24

    0 讨论(0)
提交回复
热议问题