Although installation is becoming easier over time, there are some common patterns for where it can go wrong. It would be nice to have some of these listed in the Getting Started guide.
One example that I'd like to document specifically here, is Tidal failing to build when executing cabal install tidal. An error we've seen at workshops recently is Tidal dependencies failing to install, with an error like cannot satisfy -package-id <name of package>. This can be fixed by running sudo ghc-pkg recache and then cabal install tidal again.
Although installation is becoming easier over time, there are some common patterns for where it can go wrong. It would be nice to have some of these listed in the Getting Started guide.
One example that I'd like to document specifically here, is Tidal failing to build when executing
cabal install tidal
. An error we've seen at workshops recently is Tidal dependencies failing to install, with an error likecannot satisfy -package-id <name of package>
. This can be fixed by runningsudo ghc-pkg recache
and thencabal install tidal
again.