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