-
Notifications
You must be signed in to change notification settings - Fork 841
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
configure: error: curses library not found, so this package cannot be built when installing terminfo on nixos #3233
Comments
I imagine you guys must be pretty busy, is there any more information I can get to help with this issue or anything I could try to fix this (I'm just an amateur with Nix, but if there any pointers on where to look and learn maybe I could help anyway). |
It's complicated (see e.g. PR #21), and we don't actually need it for the build.
@mzabani This comment seems to be the workaround. Actually, I'm not sure this is even actually a bug - It's just that the |
Upon further experimentation, it seems that you only need the |
@chris-martin It doesn't solve the problem for me. |
I can confirm that using the following .stack/config.yaml:
I can build terminfo-0.4.1.0 with stack (and then also intero). |
I am closing this issue given the passage of time. |
Using stack 1.4.0 compiled with Cabal-1.24.2.0 on Nixos 17.03 with lts-8.20 and ghc-8.0.2, I can't install terminfo on any of my projects:
Here is ~/Projects/bancot/stack.yaml:
Here is ~/.stack/config.yaml:
I have also tried setting pure to false, but nothing changed. I do have ncurses-6.0 installed, as can be seen by the build command itself. I have also tried lts-7.24, but had the same results.
Sorry if this is old news for you, I can't seem to find anything related to this on the other issues.
Thank you in advance.
The text was updated successfully, but these errors were encountered: