Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Choco install of cabal 3.2 fails in connection with ghc 9.6.1 #202

@andreasabel

Description

@andreasabel

Lifted from:

cabal-3.2.0.0 seemingly cannot be installed by chocolatey in connection with ghc-9.6.1:
https://github.com/haskell/actions/actions/runs/4398118597/jobs/7704243235#step:3:121
It works with other GHC versions.
Run with more debug info: https://github.com/haskell/actions/actions/runs/4398118597/jobs/7704278660#step:3:2234

@Mistuke writes:

The GHCs have a dependency on cabal they're expected to work with. In this case installing 9.6.1 installs cabal 3.10.1 as well and configures it. [...] the config file created by 3.10.1 cannot be read by 3.2 and so it fails. [...] it's failing while updating the config file.
[...] you can install ghc with --ignore-dependencies to not install the new cabal.
[...] the update fails after 3.10.1 creates the config:

cabal.exe: Error parsing config file C:\cabal\config:24:
Parse of field 'nix' failed (<viewAsFieldDescr>disable): disable

[...] 3.2 and 3.10 cannot coexist

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions