Make sure you have the 64-bit version of GHC. If you installed GHC using brew install haskell-platform
, you are using the 32-bit version which wont work with the instructions below. To install the 64-bit version
- Follow instructions in this [gist][ghcinstallgist]. However, note that the patch for
cabal-install
that they point to is not available anymore. There is a similar patch in [this gist][cabalinstallgist], which worked for me. Read [this comment][cabalinstallcomment] for more info on how to apply the patch.