Repository navigation
Add support for GHC 9.4.2 under stack and fix #6128 - #6216
Merged
Merged
Conversation
andreasabel
force-pushed
the
stack-9.4.2
branch
3 times, most recently
from
October 23, 2022 15:06
1c0d37c to
c4b5b2e
Compare
andreasabel
force-pushed
the
stack-9.4.2
branch
from
October 23, 2022 15:55
c4b5b2e to
32d622e
Compare
nad
reviewed
Oct 23, 2022
andreasabel
force-pushed
the
stack-9.4.2
branch
from
October 23, 2022 20:09
32d622e to
2ae6761
Compare
Regression introduced by #6110. The output of the created Agda process was never read, resulting in a blocked pipe when the buffer was full. Using the simpler `readCreateProcess` takes care of the correct pipe handling for us.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
stack-9.4.2.yaml(generated from the output ofcabal freeze).Also fixes
a regression introduced by #6110 which speeds up generation of the builtin
.agdaifiles during the setup process.The problem was that the output from Agda wasn't consumed, so the pipe blocked, and setup stalled.
The solution is to use
readCreateProcesswhich takes care of subtleties of capturing the output of a process in a non-blocking way. (We want to ignore the output ofagda --interactionhere, as it is only emacs commands.)