2020-10-25 13:17:17 +00:00
|
|
|
# Cache downloads in ~/.ghcup/cache
|
|
|
|
cache: False
|
|
|
|
# Skip tarball checksum verification
|
|
|
|
no-verify: False
|
|
|
|
# enable verbosity
|
|
|
|
verbose: False
|
|
|
|
# When to keep build directories
|
|
|
|
keep-dirs: Errors # Always | Never | Errors
|
|
|
|
# Which downloader to use
|
|
|
|
downloader: Curl # Curl | Wget | Internal
|
2021-09-18 17:45:32 +00:00
|
|
|
# whether to run in offline mode
|
|
|
|
no-network: False
|
|
|
|
# whether/how to do gpg verification
|
|
|
|
gpg-setting: GPGNone # GPGStrict | GPGLax | GPGNone
|
2020-10-25 13:17:17 +00:00
|
|
|
|
|
|
|
# TUI key bindings,
|
|
|
|
# see https://hackage.haskell.org/package/vty-5.31/docs/Graphics-Vty-Input-Events.html#t:Key
|
|
|
|
# for possible values.
|
|
|
|
key-bindings:
|
|
|
|
up:
|
|
|
|
KUp: []
|
|
|
|
down:
|
|
|
|
KDown: []
|
|
|
|
quit:
|
|
|
|
KChar: 'q'
|
|
|
|
install:
|
|
|
|
KChar: 'i'
|
|
|
|
uninstall:
|
|
|
|
KChar: 'u'
|
|
|
|
set:
|
|
|
|
KChar: 's'
|
|
|
|
changelog:
|
|
|
|
KChar: 'c'
|
|
|
|
show-all:
|
|
|
|
KChar: 'a'
|
2021-05-14 22:31:36 +00:00
|
|
|
show-all-tools:
|
|
|
|
KChar: 't'
|
2020-10-25 13:17:17 +00:00
|
|
|
|
2021-10-30 11:23:02 +00:00
|
|
|
# The caching for the metadata files containing download info, depending on last access time
|
|
|
|
# of the file. These usually are in '~/.ghcup/cache/ghcup-<ver>.yaml'.
|
|
|
|
meta-cache: 300 # in seconds
|
|
|
|
|
2020-10-25 13:17:17 +00:00
|
|
|
# Where to get GHC/cabal/hls download info/versions from. For more detailed explanation
|
|
|
|
# check the 'URLSource' type in the code.
|
|
|
|
url-source:
|
|
|
|
## Use the internal download uri, this is the default
|
|
|
|
GHCupURL: []
|
|
|
|
|
|
|
|
## Example 1: Read download info from this location instead
|
|
|
|
## Accepts file/http/https scheme
|
2022-03-10 19:26:51 +00:00
|
|
|
## Can also be an array of URLs or an array of 'Either GHCupInfo URL', in
|
|
|
|
## which case they are merged right-biased (overwriting duplicate versions).
|
2020-10-25 13:17:17 +00:00
|
|
|
# OwnSource: "file:///home/jule/git/ghcup-hs/ghcup-0.0.3.yaml"
|
|
|
|
|
2022-03-10 19:26:51 +00:00
|
|
|
## Example 2: Add custom tarballs to the default downloads, overwriting duplicate versions.
|
|
|
|
## Can also be an array of 'Either GHCupInfo URL', also see Example 3.
|
2020-10-25 13:17:17 +00:00
|
|
|
# AddSource:
|
|
|
|
# Left:
|
2022-03-10 19:26:51 +00:00
|
|
|
# globalTools: {}
|
|
|
|
# toolRequirements: {}
|
2020-10-25 13:17:17 +00:00
|
|
|
# ghcupDownloads:
|
|
|
|
# GHC:
|
|
|
|
# 9.10.2:
|
|
|
|
# viTags: []
|
|
|
|
# viArch:
|
|
|
|
# A_64:
|
|
|
|
# Linux_UnknownLinux:
|
|
|
|
# unknown_versioning:
|
|
|
|
# dlUri: https://downloads.haskell.org/~ghc/7.10.3/ghc-7.10.3-x86_64-deb8-linux.tar.bz2
|
|
|
|
# dlSubdir: ghc-7.10.3
|
|
|
|
# dlHash: 01cfbad8dff1e8b34a5fdca8caeaf843b56e36af919e29cd68870d2588563db5
|
|
|
|
|
2022-03-10 19:26:51 +00:00
|
|
|
## Example 3: Add multiple custom download files to the default downloads via right-biased merge (overwriting duplicate
|
|
|
|
## versions).
|
2020-10-25 13:17:17 +00:00
|
|
|
# AddSource:
|
2022-03-10 19:26:51 +00:00
|
|
|
# - Right: "file:///home/jule/git/ghcup-hs/ghcup-prereleases.yaml"
|
|
|
|
# - Right: "file:///home/jule/git/ghcup-hs/ghcup-custom.yaml"
|