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
Doesn't work with data-fix-0.0.7 #63
Comments
Just as a note, I'm building on nixos, synced to roughly the latest commit. The command I used to run the build was |
Oh, @jwiegley, |
Hi! i'm the author of data-fix. Unfortunately it doesn't compile with the latest ghc. There are some incompatible changes regarding instances of Eq vs Eq1 and Ord vs Ord1. I don't completely understand them right now, but if my package causing any trouble I'm willing to learn and cooperate :) |
There was a PR that proposed the updates. I have accpeted it. It's data-fix-0.6 but then I've reverted it in 0.7 since some of my libraries doesn't work well with it. Maybe I need to update the libraries also and keep the change to make your packages compile! Can you try out the data-fix-0.0.6. Does it work for you? |
The 0.0.7 is exactly as 0.0.4 |
@Profpatsch It's not one of the deps, because I can add a @anton-k I don't quite understand the nature of the failure myself---I hope to do a little investigation, but I'm hardly an expert. I do wonder if the change in the haskell version is actually the issue? |
With
The corresponding failing function is: assertParseFile :: FilePath -> NExpr -> Assertion
assertParseFile file expected = do
res <- parseNixFile $ "data/" ++ file
case res of
Success actual -> {- HERE -} assertEqual ("Parsing data file " ++ file) expected actual
Failure err -> assertFailure $ "Unexpected error parsing data file `" ++ file ++ "':\n" ++ show err I’m on the latest nixpkgs master with these haskell packages. |
Update: can confirm that it works with |
@Profpatsch Do you recommend setting an upper bound, or does it now work with 0.0.7? |
Yes, it works with Based on my input, the author bumped the version to |
OK, I've changed the latest version of |
To be clear, I do not in any way, shape or form understand this failure.
With version 0.0.7 of the
data-fix
package,hnix
fails to build its tests with the following error:On the other hand, with version 0.0.4, it builds fine.
The part that I find baffling is that the only difference between those versions would appear to be:
The text was updated successfully, but these errors were encountered: