我正在尝试这样做cabal install hoogle
,但是haskell-src-exts-1.13.5
依赖项存在问题:
Configuring haskell-src-exts-1.13.5...
setup: The program happy version >=1.17 is required but it could not be found.
当我尝试这样做cabal install happy
时,它似乎成功完成,但 cabal-install 不保留版本:
>$ cabal list happy
* happy
Synopsis: Happy is a parser generator for Haskell
Default available version: 1.18.10
Installed versions: [ Unknown ]
Homepage: http://www.haskell.org/happy/
License: BSD3
如您所见,版本是[ Unknown ]
. 它仍然是未知的,如果我再次尝试运行,cabal-install 仍然会被遗忘cabal install happy
。
是什么赋予了?
提前致谢!