When I execute ghc-mod version
normally, It will print the infomation like this:
ghc-mod version 5.0.1.2 compiled by GHC 7.8.3
But if .cabal file was in current directory, It will print the error message like this:
cabal configure failed: user error (cabal configure (exit 1)
cabal: At least the following dependencies are missing:
HUnit -any, hspec -any, testloop -any
)
How should I fix this probleam?