I tried the standard Cabal install for building the binaries:
I also tried this method:
ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.10.7
cabal --version
cabal-install version 3.8.1.0
compiled using version 3.8.1.0 of the Cabal library
ERROR:
.bashrc