Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support GHC 9.6.1 #20

Closed
andreasabel opened this issue Mar 12, 2023 · 8 comments
Closed

Support GHC 9.6.1 #20

andreasabel opened this issue Mar 12, 2023 · 8 comments

Comments

@andreasabel
Copy link

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

@Mistuke
Copy link
Owner

Mistuke commented Mar 12, 2023

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

@andreasabel
Copy link
Author

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.

@Mistuke
Copy link
Owner

Mistuke commented Mar 12, 2023

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.

@Mistuke
Copy link
Owner

Mistuke commented Mar 12, 2023

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

@andreasabel
Copy link
Author

Fantastic!

@andreasabel
Copy link
Author

andreasabel commented Mar 12, 2023

@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

@Mistuke
Copy link
Owner

Mistuke commented Mar 12, 2023

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.

@Mistuke
Copy link
Owner

Mistuke commented Mar 12, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants