ndmitchell / hoogle

Haskell API search engine
http://hoogle.haskell.org/
Other
738 stars 134 forks source link

Compilation failure with newest hoogle #84

Closed snoyberg closed 10 years ago

snoyberg commented 10 years ago

[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 Failed to install hoogle-4.2.34 cabal: Error: some packages failed to install: hoogle-4.2.34 failed during the building phase. The exception was: ExitFailure 1

snoyberg commented 10 years ago

This seems to be caused by Cabal 1.20; compiling with --constraint "Cabal < 1.20" seems to work.

snoyberg commented 10 years ago

Sorry for the noise, this was caused by an experimental version of Cabal that I forgot I had installed.