Making cabal-install SSL capable
michael at snoyman.com
Tue Apr 28 13:52:43 UTC 2015
On Tue, Apr 28, 2015 at 4:48 PM Thomas Tuegel <ttuegel at gmail.com> wrote:
> On Tue, Apr 28, 2015 at 8:40 AM, Gershom B <gershomb at gmail.com> wrote:
> > More troublesome, I recall that the current scheme for cabal is that it
> is fully bootstrappable by only depending on GHC base libs and “vendored”
> Well, not really. We have an ugly bootstrapping script that downloads
> the other dependencies:
> Speaking of which...
> On Tue, Apr 28, 2015 at 7:38 AM, Michael Snoyman <michael at snoyman.com>
> > On Tue, Apr 28, 2015 at 2:56 PM Thomas Tuegel <ttuegel at gmail.com> wrote:
> >> Considering users with cabal-install already, that many dependencies
> >> is only a small maintenance problem. Bootstrapping will not be a small
> >> problem.
> > Can you explain what the bootstrapping issue is here? If it's what I
> > you're getting at, I think I have a simple solution to that:
> > Note that this script generation isn't really highly tested, I put it
> > together a few weeks back as a proof-of-concept to help out someone
> > around with LTS Haskell + Nix.
> Sorry, yes, the bootstrapping issue I referred to was installing
> cabal-install starting from just a bare GHC installation, as you
> correctly inferred. I think that script you generated is nicer than
> what we do now; that would be good to have, regardless of where we
> come down on the TLS situation. Is the source code that generates that
> script available?
Thank you :)
Yes, the code is part of the stackage-server code base, available here:
When I was working on this for Nix, I offered to make the code a standalone
library/tool instead. That offer's still open if it would be useful to
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cabal-devel