Skip to content

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

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

Merged
merged 2 commits into from
Apr 27, 2014

Conversation

owst
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 April 27, 2014 18:27
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:
haskell#1816

Errors are also improved when installing local packages, e.g. `cabal install
another/directory`.
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
@23Skidoo
Copy link
Member

Merged, thanks!

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

Successfully merging this pull request may close these issues.

2 participants