Magnus pushed to branch wip/mangoiv/9.12.5-rc4 at Glasgow Haskell Compiler / GHC
Commits:
-
087fbaa9
by mangoiv at 2026-10-06T12:27:47+02:00
1 changed file:
Changes:
| ... | ... | @@ -231,6 +231,24 @@ function set_toolchain_paths() { |
| 231 | 231 | }
|
| 232 | 232 | |
| 233 | 233 | function cabal_update() {
|
| 234 | + # root key signing changes randomly which affects old
|
|
| 235 | + # cabal-install versions
|
|
| 236 | + CONFIG="${CABAL_CONFIG:-/builds/ghc/ghc/cabal/config}"
|
|
| 237 | + mkdir -p "$(dirname "$CONFIG")"
|
|
| 238 | + |
|
| 239 | + cat > "$CONFIG" <<'EOF'
|
|
| 240 | +repository hackage.haskell.org
|
|
| 241 | + url: http://hackage.haskell.org/
|
|
| 242 | + secure: True
|
|
| 243 | + key-threshold: 0
|
|
| 244 | + root-keys:
|
|
| 245 | + fe331502606802feac15e514d9b9ea83fee8b6ffef71335479a2e68d84adc6b0
|
|
| 246 | + c7de58fc6a224b92b5b513f26fbb8b370f2d97c7cfe0075a951314a55734be93
|
|
| 247 | + d26e46f3b631aae1433b89379a6c68bd417eb5d1c408f0643dcc07757fece522
|
|
| 248 | + 1ea9ba32c526d1cc91ab5e5bd364ec5e9e8cb67179a471872f6e26f0ae773d42
|
|
| 249 | + key-threshold: 3
|
|
| 250 | +EOF
|
|
| 251 | + |
|
| 234 | 252 | # In principle -w shouldn't be necessary here but with
|
| 235 | 253 | # cabal-install 3.8.1.0 it is, due to cabal#8447.
|
| 236 | 254 | run "$CABAL" update -w "$GHC" "hackage.haskell.org,${HACKAGE_INDEX_STATE}"
|