Self host ghcup binaries

This commit is contained in:
Julian Ospald 2020-07-14 14:29:23 +02:00
parent 5035051135
commit 0679626514
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
3 changed files with 12 additions and 12 deletions

View File

@ -34,10 +34,10 @@ download_ghcup() {
"linux"|"Linux") "linux"|"Linux")
case "${_arch}" in case "${_arch}" in
x86_64|amd64) x86_64|amd64)
_url=https://downloads.haskell.org/~ghcup/${_ghver}/x86_64-linux-ghcup-${_ghver} _url=https://files.hasufell.de/ghcup/${_ghver}/x86_64-linux-ghcup-${_ghver}
;; ;;
i*86) i*86)
_url=https://downloads.haskell.org/~ghcup/${_ghver}/i386-linux-ghcup-${_ghver} _url=https://files.hasufell.de/ghcup/${_ghver}/i386-linux-ghcup-${_ghver}
;; ;;
*) die "Unknown architecture: ${_arch}" *) die "Unknown architecture: ${_arch}"
;; ;;
@ -53,7 +53,7 @@ download_ghcup() {
*) die "Unknown architecture: ${_arch}" *) die "Unknown architecture: ${_arch}"
;; ;;
esac esac
_url=https://downloads.haskell.org/~ghcup/${_ghver}/x86_64-portbld-freebsd-ghcup-${_ghver} _url=https://files.hasufell.de/ghcup/${_ghver}/x86_64-portbld-freebsd-ghcup-${_ghver}
;; ;;
"Darwin"|"darwin") "Darwin"|"darwin")
case "${_arch}" in case "${_arch}" in
@ -65,7 +65,7 @@ download_ghcup() {
*) die "Unknown architecture: ${_arch}" *) die "Unknown architecture: ${_arch}"
;; ;;
esac esac
_url=https://downloads.haskell.org/~ghcup/${_ghver}/x86_64-apple-darwin-ghcup-${_ghver} ;; _url=https://files.hasufell.de/ghcup/${_ghver}/x86_64-apple-darwin-ghcup-${_ghver} ;;
*) die "Unknown platform: ${_plat}" *) die "Unknown platform: ${_plat}"
;; ;;
esac esac

View File

@ -2329,21 +2329,21 @@
"unknown_versioning": { "unknown_versioning": {
"dlHash": "6bbfb1047691ff3ae9249e8805cf9f37bab30a008dae130cb2a4b3aa5253e6e5", "dlHash": "6bbfb1047691ff3ae9249e8805cf9f37bab30a008dae130cb2a4b3aa5253e6e5",
"dlSubdir": null, "dlSubdir": null,
"dlUri": "https://downloads.haskell.org/~ghcup/0.1.6/x86_64-portbld-freebsd-ghcup-0.1.6" "dlUri": "https://files.hasufell.de/ghcup/0.1.6/x86_64-portbld-freebsd-ghcup-0.1.6"
} }
}, },
"Darwin": { "Darwin": {
"unknown_versioning": { "unknown_versioning": {
"dlHash": "1e025e66d7f7b75d94f17a7da6120efd7e2df918a8eac88c4711ed11d2aac4ec", "dlHash": "1e025e66d7f7b75d94f17a7da6120efd7e2df918a8eac88c4711ed11d2aac4ec",
"dlSubdir": null, "dlSubdir": null,
"dlUri": "https://downloads.haskell.org/~ghcup/0.1.6/x86_64-apple-darwin-ghcup-0.1.6" "dlUri": "https://files.hasufell.de/ghcup/0.1.6/x86_64-apple-darwin-ghcup-0.1.6"
} }
}, },
"Linux_UnknownLinux": { "Linux_UnknownLinux": {
"unknown_versioning": { "unknown_versioning": {
"dlHash": "bdbec0cdf4c8511c4082dd83993d15034c0fbcb5722ecf418c1cee40667da8af", "dlHash": "bdbec0cdf4c8511c4082dd83993d15034c0fbcb5722ecf418c1cee40667da8af",
"dlSubdir": null, "dlSubdir": null,
"dlUri": "https://downloads.haskell.org/~ghcup/0.1.6/x86_64-linux-ghcup-0.1.6" "dlUri": "https://files.hasufell.de/ghcup/0.1.6/x86_64-linux-ghcup-0.1.6"
} }
} }
}, },
@ -2352,7 +2352,7 @@
"unknown_versioning": { "unknown_versioning": {
"dlHash": "0366ed6c00862c3c002cdefc3e37523ad80e655387956c7ab58b268aaa6fae5d", "dlHash": "0366ed6c00862c3c002cdefc3e37523ad80e655387956c7ab58b268aaa6fae5d",
"dlSubdir": null, "dlSubdir": null,
"dlUri": "https://downloads.haskell.org/~ghcup/0.1.6/i386-linux-ghcup-0.1.6" "dlUri": "https://files.hasufell.de/ghcup/0.1.6/i386-linux-ghcup-0.1.6"
} }
} }
} }

View File

@ -1041,28 +1041,28 @@ cabal_3200_64_alpine = DownloadInfo
ghcup_016_32_linux :: DownloadInfo ghcup_016_32_linux :: DownloadInfo
ghcup_016_32_linux = DownloadInfo ghcup_016_32_linux = DownloadInfo
[uri|https://downloads.haskell.org/~ghcup/0.1.6/i386-linux-ghcup-0.1.6|] [uri|https://files.hasufell.de/ghcup/0.1.6/i386-linux-ghcup-0.1.6|]
Nothing Nothing
"0366ed6c00862c3c002cdefc3e37523ad80e655387956c7ab58b268aaa6fae5d" "0366ed6c00862c3c002cdefc3e37523ad80e655387956c7ab58b268aaa6fae5d"
ghcup_016_64_linux :: DownloadInfo ghcup_016_64_linux :: DownloadInfo
ghcup_016_64_linux = DownloadInfo ghcup_016_64_linux = DownloadInfo
[uri|https://downloads.haskell.org/~ghcup/0.1.6/x86_64-linux-ghcup-0.1.6|] [uri|https://files.hasufell.de/ghcup/0.1.6/x86_64-linux-ghcup-0.1.6|]
Nothing Nothing
"bdbec0cdf4c8511c4082dd83993d15034c0fbcb5722ecf418c1cee40667da8af" "bdbec0cdf4c8511c4082dd83993d15034c0fbcb5722ecf418c1cee40667da8af"
ghcup_016_64_freebsd :: DownloadInfo ghcup_016_64_freebsd :: DownloadInfo
ghcup_016_64_freebsd = DownloadInfo ghcup_016_64_freebsd = DownloadInfo
[uri|https://downloads.haskell.org/~ghcup/0.1.6/x86_64-portbld-freebsd-ghcup-0.1.6|] [uri|https://files.hasufell.de/ghcup/0.1.6/x86_64-portbld-freebsd-ghcup-0.1.6|]
Nothing Nothing
"6bbfb1047691ff3ae9249e8805cf9f37bab30a008dae130cb2a4b3aa5253e6e5" "6bbfb1047691ff3ae9249e8805cf9f37bab30a008dae130cb2a4b3aa5253e6e5"
ghcup_016_64_darwin10_13 :: DownloadInfo ghcup_016_64_darwin10_13 :: DownloadInfo
ghcup_016_64_darwin10_13 = DownloadInfo ghcup_016_64_darwin10_13 = DownloadInfo
[uri|https://downloads.haskell.org/~ghcup/0.1.6/x86_64-apple-darwin-ghcup-0.1.6|] [uri|https://files.hasufell.de/ghcup/0.1.6/x86_64-apple-darwin-ghcup-0.1.6|]
Nothing Nothing
"1e025e66d7f7b75d94f17a7da6120efd7e2df918a8eac88c4711ed11d2aac4ec" "1e025e66d7f7b75d94f17a7da6120efd7e2df918a8eac88c4711ed11d2aac4ec"