简体   繁体   中英

How can I fix Haskell version conflicts with dependencies?

I have tried the command "cabal install HaskellAnalysisProgram" to install the Haskell package "HaskellAnalysisProgram" on my Macbook Pro of operating system macOS Big Sur version 11.2.3 with Apple M1 chip. However, a frustrating error relating to dependency conflicts appear when I tried to install it. I also heard that some other Mac users can install "HaskellAnalysisProgram" or any other Haskell packages depending on older version(s) of other Haskell packages without any issue. My cabal configuration is still at its default. May I know how to fix this issue.

Notes: the image of the error is attached

HaskellAnalysisProgram Installation Issue

HaskellAnalysisProgram depends on haskell-src-exts 1.20.*, which in turn depends on base < 4.13. Thus, if you want to use HaskellAnalysisProgram without modifications, you need to downgrade to GHC 8.6.5, the last version of Haskell to include such an old version of base.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM