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

ghc-8.2.1-rc2 issue on Arch linux #3177

Closed
dawei-dev opened this issue May 18, 2017 · 1 comment
Closed

ghc-8.2.1-rc2 issue on Arch linux #3177

dawei-dev opened this issue May 18, 2017 · 1 comment

Comments

@dawei-dev
Copy link
Contributor

I have followed this guide:
http://taylor.fausak.me/2017/05/17/testing-ghc-release-candidates-with-stack/

It works on Windows
But on Arch Linux I get:

No information found for ghc-8.2.0.20170507.
Supported versions for OS key 'linux64-ncurses6': GhcVersion 7.10.3, GhcVersion 8.0.1, GhcVersion 8.0.2

@borsboom
Copy link
Contributor

Arch uses different GHC bindists than the default because it uses libncurses6 (whereas stock GHC bindists are build to dynamic link with libtinfo5). So there are two ways to progress:

  1. Build your own GHC 8.2.1-rc2 bindist from source on Arch and reference that in the setup-info (replacing linux64 with linux64-ncurses6 as the key).

  2. Install ncurses5-compat-libs from AUR and then force Stack to use the standard GHC bindist by doing something like stack --ghc-build=standard setup.

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