[Haskell-cafe] Cabal install fails due to recent HUnit

Erik Hesselink hesselink at gmail.com
Wed Jul 18 16:26:52 CEST 2012

Hi all,

All cabal installs using cabal-install-0.10.2 are currently failing
for us. This is due to the cabal file for HUnit-, which was
recently uploaded to hackage. The ouput I'm getting from cabal is

Reading available packages...
Resolving dependencies...
cabal: Couldn't read cabal file "HUnit/"

If I unpack HUnit- and call 'cabal configure', I get:

cabal: HUnit.cabal:57: The 'type' field is required for test suites. The
available test types are: exitcode-stdio-1.0

The relevant lines from the cabal file are:

Test-Suite hunit-tests-optimize-0
    Type:               exitcode-stdio-1.0

These look fine to me.

Does anyone have any idea how to go about fixing this (on hackage at
least)? Could this package temporarily be removed, to avoid breaking
everyone's cabal?


More information about the Haskell-Cafe mailing list