Skip to content

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

Merged
23Skidoo merged 2 commits into
haskell:masterfrom
owst:master
Apr 27, 2014
Merged

Fix #1816 - give more descriptive errors when .cabal file cannot be found#1824
23Skidoo merged 2 commits into
haskell:masterfrom
owst:master

Conversation

@owst

@owst owst commented Apr 27, 2014

Copy link
Copy Markdown

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
Copy Markdown
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