78 lines
2.5 KiB
YAML
78 lines
2.5 KiB
YAML
# 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
|
|
# whether to run in offline mode
|
|
no-network: False
|
|
# whether/how to do gpg verification
|
|
gpg-setting: GPGNone # GPGStrict | GPGLax | GPGNone
|
|
|
|
# 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'
|
|
show-all-tools:
|
|
KChar: 't'
|
|
|
|
# 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
|
|
|
|
# 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
|
|
## 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).
|
|
# OwnSource: "file:///home/jule/git/ghcup-hs/ghcup-0.0.3.yaml"
|
|
|
|
## 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.
|
|
# AddSource:
|
|
# Left:
|
|
# globalTools: {}
|
|
# toolRequirements: {}
|
|
# 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
|
|
|
|
## Example 3: Add multiple custom download files to the default downloads via right-biased merge (overwriting duplicate
|
|
## versions).
|
|
# AddSource:
|
|
# - Right: "file:///home/jule/git/ghcup-hs/ghcup-prereleases.yaml"
|
|
# - Right: "file:///home/jule/git/ghcup-hs/ghcup-custom.yaml"
|