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.
This (rather large, sorry for that) refactoring completes the work of introducing RIO that started in #486
The reason for this PR is to tidy up the "execution requirements" of every command - i.e. what does every command need in order to run.
For how the code is structured now this will allow us to request "capabilities" in functions where we need them.
Example: there's now a
HasPurs
typeclass that gives the path of the compiler. If there's nopurs
we now fail right at the beginning with a decent error message, rather than deep in the execution tree when we actually need to run it.This is a breaking change because it removes the deprecated
--no-share-output
flag for build commands.Fix #578
Fix #393
Close #609