2024-07-07 18:19:07 +00:00

47 lines
1.7 KiB
JSON

{
"version": "0.1.30.0",
"description": "GHCup is the main installer for the general purpose language Haskell",
"homepage": "https://www.haskell.org/ghcup",
"license": "LGPL-v3",
"notes": [
"For `ghc`, use `ghcup install --set recommend ghc`.",
"For `cabal`, use `ghcup install cabal latest && ghcup set cabal`.",
"* Use `cabal user-config update --augment \"installdir: <<BIN_PATH>>\"` to reset `cabal` binary destination path.",
"For `stack`, use `ghcup install stack latest && ghcup set stack`.",
"* Add \"local-bin-path: <<BIN_PATH>>\" to \"$(stack path --stack-root)\"to reset `stack` binary destination path.",
"For `hls`, use `ghcup install hls latest`."
],
"depends": "msys2",
"architecture": {
"64bit": {
"url": "https://github.com/haskell/ghcup-hs/releases/download/v0.1.30.0/x86_64-mingw64-ghcup-0.1.30.0.exe#/ghcup.exe",
"hash": "c7834c33d0b7225186325417bad329fda519f770e8c85ae3ffa4b38c4311439c"
}
},
"env_set": {
"GHCUP_INSTALL_BASE_PREFIX": "$dir",
"GHCUP_MSYS2": "$scoopdir\\apps\\msys2\\current"
},
"env_add_path": "ghcup\\bin",
"bin": [
[
"ghcup.exe",
"ghcup"
]
],
"persist": "ghcup",
"checkver": {
"github": "https://github.com/haskell/ghcup-hs"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/haskell/ghcup-hs/releases/download/v$version/x86_64-mingw64-ghcup-$version.exe#/ghcup.exe"
}
},
"hash": {
"url": "$baseurl/SHA256SUMS"
}
}
}