darcs patch: Search target bindir for dependencies in addition to $...

Hi,
I found it frustrating when first using Cabal a couple weeks ago that
it kept seeming to want to install alex, even after it supposedly
*had* installed it. Here's a patch that will allow Cabal to find any
dependencies that it installed into non-$PATH directories, so that it
won't just loop forever, rebuilding and reinstalling the same things
over and over again.
I'm sending another patch (in a subsequent message) for cabal-install
that will emit a warning whenever it installs a binary without a
symlink into a directory outside the current search path. Hopefully
together (or apart) these will help make Cabal more user-friendly.
-steve
Sun Oct 5 21:03:07 EDT 2008 Stephen Hicks
participants (1)
-
Stephen Hicks