当我正常执行ghc-mod version
时,它会打印如下信息:
ghc-mod version 5.0.1.2 compiled by GHC 7.8.3
但如果.cabal文件在当前目录中,它将打印如下错误消息:
cabal configure failed: user error (cabal configure (exit 1)
cabal: At least the following dependencies are missing:
HUnit -any, hspec -any, testloop -any
)
我该如何解决这个问题?