-
Notifications
You must be signed in to change notification settings - Fork 6
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
Switch from readline
to haskeline
#75
base: master
Are you sure you want to change the base?
Conversation
f9e9d1b
to
d4bb606
Compare
Apparently `readline` doesn't build with newer versions of cabal. Also update CI configuration to make it work, see: haskell-CI/haskell-ci#738 (comment)
d4bb606
to
8fabf1b
Compare
How come? I can build it just fine with cabal-3.12.1.0 and GHC 9.10.1 locally 🤔 Where's the error? |
I'm necessarily opposed to the idea of replacing readline with haskeline btw, I'm just wondering what's the error you're getting though, because I'm not getting it. |
Can you also run I'm on:
|
To be clear, the full error I'm seeing is this:
|
And when I try to add
Then I saw this: https://stackoverflow.com/a/67521967/278903 Maybe it's just an issue on my system :/. |
If you install the |
Installing the Probably, it's my Nix configuration going wrong. I think the problem I'm running into is that main :: IO ()
main = defaultMainWithHooks defaultUserHooks And that {-# DEPRECATED defaultUserHooks
"Use simpleUserHooks or autoconfUserHooks, unless you need Cabal-1.2\n compatibility in which case you must stick with defaultUserHooks" #-} Maybe there's some way to specify the Cabal version to use for a specific library that I don't know about. But this is really not that important really, so feel free to close this PR. Your call :). |
Apparently
readline
doesn't build with newer versions of cabal.