Making cabal-install SSL capable

Mikhail Glushenkov the.dead.shall.rise at gmail.com
Wed May 6 16:53:07 UTC 2015


On 6 May 2015 at 17:43, Gershom B <gershomb at 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.


More information about the cabal-devel mailing list