Closed marsam closed 3 years ago
If it was replaced, then this is only compatible with hnix >0.13 right?
On Sat, 15 May 2021, 14:30 Mario Rodas, @.***> wrote:
Raise upper bound on hnix.
hnix 0.13.0 replaced the Result type with Either[1].
[1] @.*** https://github.com/haskell-nix/hnix/commit/2fea0dc330bd3b3da10c893847b21ffb0855dca1
You can view, comment on, or merge this pull request online at:
https://github.com/Synthetica9/nix-linter/pull/51 Commit Summary
- Fix compatibility with hnix≥0.13.0
File Changes
- M main/Main.hs https://github.com/Synthetica9/nix-linter/pull/51/files#diff-aefb86a77d8df9fc673b38b36a8d87d1eb9c6e16ba2cfc2bb3b807d7f005df61 (4)
- M nix-linter.cabal https://github.com/Synthetica9/nix-linter/pull/51/files#diff-58e35da752dbf48d6b081e34d65b675b1e7a7a27823214d3a1a0cfcce45fc574 (2)
- M tests/Main.hs https://github.com/Synthetica9/nix-linter/pull/51/files#diff-9270575e760574273e144931e9ae5e7f544cc12deb4ebc44c17dc93d348f9f30 (4)
Patch Links:
- https://github.com/Synthetica9/nix-linter/pull/51.patch
- https://github.com/Synthetica9/nix-linter/pull/51.diff
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Synthetica9/nix-linter/pull/51, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABV7PJ3QONLGTJOPJ7XJHULTNZSP5ANCNFSM4453CDDQ .
then this is only compatible with hnix >0.13 right?
unfortunately yes, I'm not sure how to make it backwards compatible
I'm very sorry, this was mostly written as a proof of concept, and I am not super capable of maintaining it at the moment. I have invited you as a collaborator on this project, feel free to accept and merge this yourself if you want to.
merged in #53, thanks!
Raise upper bound on hnix.
hnix 0.13.0 replaced the
Result
type withEither
[1].[1] https://github.com/haskell-nix/hnix/commit/2fea0dc330bd3b3da10c893847b21ffb0855dca1