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

Build error when building edh tooling #3

Closed
cdfa opened this issue Apr 10, 2024 · 2 comments
Closed

Build error when building edh tooling #3

cdfa opened this issue Apr 10, 2024 · 2 comments

Comments

@cdfa
Copy link

cdfa commented Apr 10, 2024

I get the following error from build edh tooling in the gitpod workspace:

edh                  > /workspace/edh-universe/e-wrks/edh/host.hs/src/Language/Edh/Batteries.hs:166:13: error:
edh                  >     • No instance for (Catch.MonadCatch (Haskeline.InputT IO))
edh                  >         arising from a use of ‘Catch.catch’
edh                  >     • In the expression: Catch.catch (readLines initialLines)
edh                  >       In the expression:
edh                  >         Catch.catch (readLines initialLines)
edh                  >           $ \case
edh                  >               UserInterrupt -> startOver
edh                  >               ex -> throw ex
edh                  >       In an equation for ‘readInput’:
edh                  >           readInput !ps1 !ps2 !initialLines
edh                  >             = Catch.catch (readLines initialLines)
edh                  >                 $ \case
edh                  >                     UserInterrupt -> startOver
edh                  >                     ex -> throw ex
edh                  >             where
edh                  >                 startOver
edh                  >                   = Catch.catch (readLines [])
edh                  >                       $ \case
edh                  >                           UserInterrupt -> startOver
edh                  >                           ex -> throw ex
edh                  >                 parsePasteSpec :: Parsec Void Text (Int, Int, Text)
edh                  >                 parsePasteSpec
edh                  >                   = do space
edh                  >                        ....
edh                  >                 recvPaste :: Text -> Haskeline.InputT IO (Maybe EdhInput)
edh                  >                 ....
edh                  >     |
edh                  > 166 |             Catch.catch (readLines initialLines) $ \case
edh                  >     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
edh                  > 
edh                  > /workspace/edh-universe/e-wrks/edh/host.hs/src/Language/Edh/Batteries.hs:170:27: error:
edh                  >     • No instance for (Catch.MonadCatch (Haskeline.InputT IO))
edh                  >         arising from a use of ‘Catch.catch’
edh                  >     • In the expression: Catch.catch (readLines [])
edh                  >       In the expression:
edh                  >         Catch.catch (readLines [])
edh                  >           $ \case
edh                  >               UserInterrupt -> startOver
edh                  >               ex -> throw ex
edh                  >       In an equation for ‘startOver’:
edh                  >           startOver
edh                  >             = Catch.catch (readLines [])
edh                  >                 $ \case
edh                  >                     UserInterrupt -> startOver
edh                  >                     ex -> throw ex
edh                  >     |
edh                  > 170 |               startOver = Catch.catch (readLines []) $ \case
edh                  >     |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^
@complyue
Copy link
Owner

Root cause is some pkg has been updated to work with stackage lts 21.25, but the gitpod env stays at lts 16.31.

Updated the gitpod stuff, but blocked by gitpod-io/gitpod#19615 so far.

@complyue
Copy link
Owner

complyue commented Jun 4, 2024

Fixed by #4 , thanks to @axonasif !

@complyue complyue closed this as completed Jun 4, 2024
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