summaryrefslogtreecommitdiff
path: root/hadrian/bootstrap
diff options
context:
space:
mode:
authorEric Lindblad <lindblad@gmx.us>2022-07-01 15:13:53 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-07-06 01:35:48 -0400
commitd0e74992f0fd62e9bfa68b4fc3fa8c6e06ee5231 (patch)
tree29a3e22a20208177dafb6537fd837c24daa8dac9 /hadrian/bootstrap
parentc9347ecf023f0ab7a989aead7cd21e953b49b11f (diff)
downloadhaskell-d0e74992f0fd62e9bfa68b4fc3fa8c6e06ee5231.tar.gz
https urls
Diffstat (limited to 'hadrian/bootstrap')
-rwxr-xr-xhadrian/bootstrap/bootstrap.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/hadrian/bootstrap/bootstrap.py b/hadrian/bootstrap/bootstrap.py
index d7c2c4d617..55ce3d8776 100755
--- a/hadrian/bootstrap/bootstrap.py
+++ b/hadrian/bootstrap/bootstrap.py
@@ -120,10 +120,10 @@ class BadTarball(Exception):
])
def package_url(package: PackageName, version: Version) -> str:
- return f'http://hackage.haskell.org/package/{package}-{version}/{package}-{version}.tar.gz'
+ return f'https://hackage.haskell.org/package/{package}-{version}/{package}-{version}.tar.gz'
def package_cabal_url(package: PackageName, version: Version, revision: int) -> str:
- return f'http://hackage.haskell.org/package/{package}-{version}/revision/{revision}.cabal'
+ return f'https://hackage.haskell.org/package/{package}-{version}/revision/{revision}.cabal'
def verify_sha256(expected_hash: SHA256Hash, f: Path):
print(f"Verifying {f}...")