-
Notifications
You must be signed in to change notification settings - Fork 4
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
Failed to install #28
Comments
Thanks for the report. @DanBurton Can you look into this? |
Yep. Looks like we need a lower bound constraint on Parsec, or I can rewrite that particular parser. |
The function's pretty short: endOfLine :: (Stream s m Char) => ParsecT s u m Char
endOfLine = newline <|> crlf <?> "new-line" How about conditionally including it? |
This should now be resolved with 0.0.0.2 on Hackage, can you confirm? |
Unfortunately it still fails. $ cabal install stackage-cli-0.0.0.2
...
[2 of 2] Compiling Main ( main/Purge.hs, dist/build/stackage-purge/stackage-purge-tmp/Main.o )
main/Purge.hs:104:25: Not in scope: ‘crlf’
cabal: Error: some packages failed to install:
stackage-cli-0.0.0.2 failed during the building phase. The exception was:
ExitFailure 1 |
Whoops, sorry about that. I tested on my machine this time:
@snoyberg can you double check? |
Looks good to me, just compiled with parsec-3.1.5. Please go ahead and release. |
Uploaded 0.0.0.3 to hackage. @tfausak it should at least make it past these parsec errors now. Can you confirm? |
👍 That did the trick. Thank you for the fast fix! |
I tried to install version 0.0.0 on OS X 10.10.3 with GHC 7.8.3 and Cabal 1.22.2.0. It complains that
endOfLine
is not in scope.Here is the offending line: https://github.com/fpco/stackage-cli/blob/0.0.0/main/Purge.hs#L107. The
endOfLine
parser comes from Text.Parsec.Char. I don't think it's available in parsec 3.1.5, which Cabal decided to use.The text was updated successfully, but these errors were encountered: