Catch all errors from hi-file-parser#5508
Merged
Conversation
This was referenced Mar 24, 2021
qrilka
approved these changes
Mar 24, 2021
Contributor
qrilka
left a comment
There was a problem hiding this comment.
See also commercialhaskell/hi-file-parser#1
|
This is so awesome ❤️ Thank-you @snoyberg ! |
github-actions Bot
pushed a commit
to datalad/git-annex
that referenced
this pull request
Dec 8, 2021
Continuing along the same lines as commit 2739adc, it seems that while Remote -> Retriever expands to the same data type this changes it to, ghc 9.0.1 refuses to consider them equiviant. I guess it has something to do with the forall? The rest of the build all succeeds, although the stack build then crashes: Linking .stack-work/dist/x86_64-linux-tinfo6/Cabal-3.4.0.0/build/git-annex/git-annex ... Completed 233 action(s). Prelude.chr: bad argument: 2214592520 This issue seems likely to be about it: commercialhaskell/stack#5508 I'm building with stack from debian, version 2.3.3, so a newer stack probably avoids that. Anyway, despite that stack problem, the git-annex binary is built, and works. The stack.yaml I used for this build was patched as follows: diff --git a/stack.yaml b/stack.yaml index 8dac87c..62c4b5b9d 100644 --- a/stack.yaml +++ b/stack.yaml @@ -1,6 +1,6 @@ flags: git-annex: - production: true + production: false assistant: true pairing: true torrentparser: true @@ -14,7 +14,7 @@ flags: httpclientrestricted: true packages: - '.' -resolver: lts-18.13 +resolver: nightly-2021-09-07 extra-deps: - IfElse-0.85 - aws-0.22 Sponsored-by: Graham Spencer on Patreon
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.
Closes #5486
Closes #5445
Note: Documentation fixes for https://docs.haskellstack.org/en/stable/ should target the "stable" branch, not master.
Please include the following checklist in your PR:
Please also shortly describe how you tested your change. Bonus points for added tests!