Cannot install network-2.6.0.2, and the log says it's an inappropriate type error.
cabal install network
setup-Configure-Cabal-1.22.0.0-x86_64-linux-ghc-7.8.3: sh: inappropriate type
Version Info: GHC 7.8.3, Cabal 1.22, OSX 10.10
My dotfile settings:
export GHC_HOME=/usr/local/bin/ghc
export CABAL_HOME=$HOME/.cabal/