当我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
)
我应该如何解决这个问题?