Fix #2
This fixes #2 (closed) by tweaking scripts/head.hackage in two ways:
- This changes the script to use
cabal new-update head.hackage.ghc.haskell.org, notcabal new-update head.hackage, since the former is now the name of therepository. Sincehead.hackage.ghc.haskell.orgis referred to in quite a few places in the script, I factored this out into its own variable. - This changes the
urlto usehttp://, nothttps://, so thathttp-transport: plain-httpworks properly. An alternative would be to keep the use ofhttps://and usehttp-transport: curlinstead, but that assumes the existence of acurlbinary on one's machine, making it a less portable solution. In any case, the use ofhttp://in this script shouldn't pose any security issues, sincehackage-securityalready introduces a security layer independent of CAs.