Use local .available-versions and .download-urls
This commit is contained in:
parent
a6aace4734
commit
b45916a6c8
@ -6,13 +6,15 @@ edo()
|
||||
"$@" || exit 2
|
||||
}
|
||||
|
||||
GHCUP_META_DOWNLOAD_URL="file://$(pwd)/.download-urls"
|
||||
export GHCUP_META_DOWNLOAD_URL
|
||||
GHCUP_META_VERSION_URL="file://$(pwd)/.available-versions"
|
||||
export GHCUP_META_VERSION_URL
|
||||
|
||||
# dependencies
|
||||
edo sudo apt-get update -y
|
||||
edo sudo apt-get install -y libnuma-dev
|
||||
|
||||
edo rm .available-versions
|
||||
edo rm .download-urls
|
||||
|
||||
# install GHCs
|
||||
edo ./ghcup -v install 8.2.2
|
||||
edo ./ghcup -v install 8.4.3
|
||||
|
Loading…
Reference in New Issue
Block a user