Skip to content


Cabal throws an ugly "irrefutable pattern match failed" error when confronted to an empty .cabal descriptor #134

bos opened this Issue · 1 comment

1 participant

Haskell member

(Imported from Trac #141, reported by mnislaih on 2007-06-16)

Setup.hs: Distribution/PackageDescription.hs:580:6-34: Irrefutable pattern failed for pattern (st : sts)

Haskell member

(Imported comment by @dcoutts on 2007-06-16)

We now get

setup: Warning: No library or executable specified
Configuring ...
setup: Warning: No executables and no library found. Nothing to do.
setup: Warning: No exposed modules or executables in this package.
setup: Warning: No license-file field.
setup: Error: Missing field: name
setup: Error: Missing field: version
I suppose it could be better yet.

@bos bos closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.