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

Install libncurses5 and libtinfo5 for ghc < 8.3 on Linux #136

Merged
merged 6 commits into from
Dec 14, 2022

Conversation

andreasabel
Copy link
Member

@andreasabel andreasabel commented Dec 8, 2022

Fix #135: Install libncurses5 and libtinfo5 for ghc < 8.3 on Linux

This isn't correct yet:

@hazelweakly : I would like your feedback and help, because I am an absolute JavaScript beginner.

Also, I wonder whether an existing version comparison (for stack) is correct, see my comment. (UPDATE: also using compareVersions here.)

This isn't correct yet:
- we should properly compare version strings
- we should check for ubuntu-22.04 (or later), not just linux.
This works only on ubuntu-20.04 but I do not know how to check for
this a priori.
@andreasabel andreasabel force-pushed the libcurses5-for-ghc-8.2 branch from 16be8c0 to 03eec5d Compare December 9, 2022 16:10
@andreasabel
Copy link
Member Author

Yay, CI is green!
Except for the hlint actions, but this is:

@andreasabel andreasabel force-pushed the libcurses5-for-ghc-8.2 branch from d9b2612 to 22d5cc8 Compare December 13, 2022 20:03
@andreasabel andreasabel changed the title WIP: Install libcurses5 and libtinfo5 for ghc < 8.3 on Linux Install libncurses5 and libtinfo5 for ghc < 8.3 on Linux Dec 13, 2022
@andreasabel andreasabel force-pushed the libcurses5-for-ghc-8.2 branch from 22d5cc8 to 2d44f29 Compare December 13, 2022 20:20
@andreasabel andreasabel added this to the 2.0.3 milestone Dec 13, 2022
@andreasabel
Copy link
Member Author

@hazelweakly I suppose this can be released now as 2.0.3, helping with the ubuntu-latest transition to ubuntu-22.04. Any policy when to bump to 2.1?

@andreasabel
Copy link
Member Author

It seems that this fix would prevent further confusion of users using ubuntu-latest, so I am moving ahead with the release. Fingers crossed.

@andreasabel andreasabel merged commit 3c89646 into main Dec 14, 2022
@andreasabel andreasabel deleted the libcurses5-for-ghc-8.2 branch December 14, 2022 10:22
@andreasabel
Copy link
Member Author

Published as v2.0.3 v2.0 v2

@andreasabel andreasabel added the re: prerequisites Concerning installing prerequisites for ghc etc. label Dec 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pr: squash-me re: prerequisites Concerning installing prerequisites for ghc etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

On ubuntu-22.04 install libncurses5 and libtinfo5 for ghc <= 8.2
1 participant