警告:这里有新的 Haskell 用户
我正在尝试在 64 位 Mac OS X Maverick 的 Haskell 平台 2014.2.0.0 上安装 Hoogle 的 CLI 版本。我已经安装了支持 ghcjs 和 ghc 7.8.3 的 cabal 1.21.0.0。
以下是运行的输出$cabal install hoogle
[25 of 75] Compiling Web.Page ( src/Web/Page.hs, dist/build/hoogle/hoogle-tmp/Web/Page.o )
[26 of 75] Compiling Recipe.Haddock ( src/Recipe/Haddock.hs, dist/build/hoogle/hoogle-tmp/Recipe/Haddock.o )
[27 of 75] Compiling Recipe.Cabal ( src/Recipe/Cabal.hs, dist/build/hoogle/hoogle-tmp/Recipe/Cabal.o )
src/Recipe/Cabal.hs:33:74:
Couldn't match expected type ‘CompilerId’
with actual type ‘Maybe CompilerId -> CompilerId’
Probable cause: ‘comp’ is applied to too few arguments
In the fourth argument of ‘finalizePackageDescription’, namely
‘comp’
In the expression:
finalizePackageDescription [] (const True) plat comp [] pkg
cabal: Error: some packages failed to install:
hoogle-4.2.34 failed during the building phase. The exception was:
ExitFailure 1