On 6 May 2015 at 17:43, Gershom B <gersh...@gmail.com> wrote:
> I’m less certain about the use of ProgramDB — the documentation suggests it 
> will only be populated from command line flags in the “configure” step, or 
> from .cabal files. Since upload/download do not take place in such settings, 
> I don’t think it will contain useful information yet. So it might be the 
> right approach to use it, but it would also require, I suspect, modifying 
> other parts of the cabal-install executable to populate it properly?

You may need to use a separate ProgramDb (populated at runtime) just
for curl/wget and friends. The point is that we already have some code
for locating executables that supports setting program locations on
command line ('--with-PROG-path') and in the config file, so it'd be
nice to reuse it.
_______________________________________________
cabal-devel mailing list
cabal-devel@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/cabal-devel

Reply via email to