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

Add cabal-install 3.14.1.0 to the vanilla channel #271

Merged
merged 3 commits into from
Dec 18, 2024

Conversation

Kleidukos
Copy link
Member

@Kleidukos Kleidukos commented Dec 16, 2024

This was also the opportunity to fix some infidelities in the cabal release engineering script for generating ghcup metadata.

See haskell/cabal#10643.

Pipeline: https://github.com/haskell/ghcup-metadata/actions/runs/12382636335

@Kleidukos
Copy link
Member Author

hecate@ifrit on  cabal-3.14.1.0-vanilla [!] via λ 9.6.6 ghcup-metadata ❯ ghcup -v --url-source=file://$(pwd)/ghcup-vanilla-0.0.8.yaml install cabal-install --set 3.14.1.0
[ Warn  ] This is an old-style command for installing GHC. Use 'ghcup install ghc' instead.
[ Debug ] Identified Platform as: Linux Fedora, 41
[ Debug ] using local file: /home/hecate/Contrib/ghcup-metadata/ghcup-vanilla-0.0.8.yaml
[ Debug ] Decoding yaml at: /home/hecate/Contrib/ghcup-metadata/ghcup-vanilla-0.0.8.yaml
[ Debug ] Couldn't decode /home/hecate/Contrib/ghcup-metadata/ghcup-vanilla-0.0.8.yaml as GHCupInfo, trying as SetupInfo: 
[ Debug ] Decoding yaml at: /home/hecate/Contrib/ghcup-metadata/ghcup-vanilla-0.0.8.yaml
[ Error ] [GHCup-00160] JSON decoding failed with: Aeson exception:
[ ...   ] Error in $: key "ghc" not found
[ ...   ] Consider removing /home/hecate/Contrib/ghcup-metadata/ghcup-vanilla-0.0.8.yaml manually.

@Kleidukos Kleidukos force-pushed the cabal-3.14.1.0-vanilla branch 2 times, most recently from 62c20fb to 6413179 Compare December 16, 2024 13:41
@Kleidukos Kleidukos marked this pull request as draft December 16, 2024 16:55
@Kleidukos Kleidukos force-pushed the cabal-3.14.1.0-vanilla branch from 6413179 to f7801de Compare December 16, 2024 23:11
@Kleidukos
Copy link
Member Author

I don't know why it took me so long to think of using ghcup-gen locally, because this gives me a much better error:

Error in $.ghcupDownloads.Cabal['3.14.1.0'].viArch['A_64']['Linux_Alpine']['unknown_versioning']: When parsing the constructor DownloadInfo of type GHCup.Types.DownloadInfo expected Object but got Null.

@Kleidukos Kleidukos force-pushed the cabal-3.14.1.0-vanilla branch 3 times, most recently from e6c9ae2 to 6622d2f Compare December 16, 2024 23:53
@Kleidukos
Copy link
Member Author

@hasufell Interestingly, the version seems to get lost at some point in CI: https://github.com/haskell/ghcup-metadata/actions/runs/12363842751/job/34505969970#step:5:129

@Kleidukos
Copy link
Member Author

I have a hard time understanding why this one fails, is ghc-9.10 properly set to default? https://github.com/haskell/ghcup-metadata/actions/runs/12363903383/job/34506154404#step:5:13111

@hasufell
Copy link
Member

All in all: vanilla channel isn't very robust. I don't see immediately actionable items here. Those failures are for upstream to fix.

@Kleidukos Kleidukos force-pushed the cabal-3.14.1.0-vanilla branch from 9c6a839 to f117b25 Compare December 17, 2024 14:01
@Kleidukos Kleidukos marked this pull request as ready for review December 17, 2024 22:36
@Kleidukos Kleidukos requested a review from hasufell December 17, 2024 22:36
@hasufell hasufell merged commit c850d2e into develop Dec 18, 2024
28 of 33 checks passed
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

Successfully merging this pull request may close these issues.

2 participants