I'm new to the Haskell ecosystem and trying to install Idris on my MacOS Catalina.
So after
$ brew install ghc
$ brew install cabal-install
I have The Glorious Glasgow Haskell Compilation System, version 8.8.2 and cabal-install version 3.0.0.0. Then I'm trying to install Idris but
$ cabal update; cabal install idris
from official docs fails with
Resolving dependencies... cabal: Could not resolve dependencies: [__6] fail (backjumping, conflict set: template-haskell, text, time) After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: hashable, trifecta, base, idris, text, template-haskell, time, pretty, blaze-builder, blaze-markup, idris:setup.Cabal, zlib, unordered-containers, ivor, optparse-applicative Try running with --minimize-conflict-set to improve the error message.
Running with the flag mentioned in message doesn't help too.
Should I try building from sources or is there any other good way to fix this error?
brew install idrisdirectly eliminated the question altogether but I will leave it in case somebody knows how to fix cabal here - Most Wanted