Mistuke/GhcChoco

Support GHC 9.6.1

andreasabel opened this issue · 8 comments

@Mistuke : Next packaging job... ;-) GHC 9.6.1 is out.

Yes already started. It depends on cabal 3.10.1 which doesn't seem to have been released on hackage. So doing a small bit of work to remove the hackage dependency. Should be out today

It depends on cabal 3.10.1 which doesn't seem to have been released on hackage.

Yes, weird. cabal-3.10.1.0 has been tagged and is available via ghcup already, dunno why it is not on hackage.

Yeah, chocolatey enforces things like a link to a license file. Which I usually point to at the hackage release.. But the cabal release seems to be a bit messy/rushed.

Going through validation, should be done in an hour or two https://community.chocolatey.org/packages/ghc/9.6.1

Fantastic!

@Mistuke: strangely, 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

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. My guess is that the config file created by 3.10.1 cannot be read by 3.2 and so it fails. I'll try confirming this, it looks like it's failing while updating the config file.

If that's the case you can install ghc with --ignore-depdendencies to not install the new cabal.

Yup, 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

So it looks like 3.2 and 3.10 cannot coexist