Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
bos opened this issue May 24, 2012 · 1 comment

Comments

@bos
Copy link
Contributor

bos commented May 24, 2012

(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)

@bos
Copy link
Contributor Author

bos commented May 24, 2012

(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 as completed May 24, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant