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

Fix #1816 - give more descriptive errors when .cabal file cannot be found #1824

merged 2 commits into from Apr 27, 2014


Copy link

@owst owst commented Apr 27, 2014

This will give better errors when a .cabal file cannot be found when:

  • Adding a source dep,
  • Building existing source deps,
  • Creating package index,
  • Installing user specified local pkgs.

The first patch is a simple tidy-up: removing some inline, repeated strings, and manual layout formatting.

owst added 2 commits Apr 27, 2014
Avoid inline strings and manual spacing - use already-declared key variables
and unwords
Particularly when dealing with add-source dependencies, it is useful to know
in which directory cabal can't find a .cabal file, see:

Errors are also improved when installing local packages, e.g. `cabal install
23Skidoo added a commit that referenced this pull request Apr 27, 2014
Fix #1816 - give more descriptive errors when .cabal file cannot be found
@23Skidoo 23Skidoo merged commit 84a7680 into haskell:master Apr 27, 2014
1 check was pending
1 check was pending
continuous-integration/travis-ci The Travis CI build is in progress
Copy link

@23Skidoo 23Skidoo commented Apr 27, 2014

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants