-
Notifications
You must be signed in to change notification settings - Fork 147
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
Missing Hashable
instance for clash-lib
#2453
Comments
Are you using |
Yes. On |
Right. I think this might be an interaction between the newer versions of Primitive:
Hashable:
Plus Cabal somehow picking a cached version of either package over a new one. As a workaround could you:
|
Same result |
That's odd. The Maybe we need to implement the full logic then, support all combinations of [edit]
to be exact, and that got rid of the error. Please note the "force" in git clean if you copy-paste this, it is not forgiving on your files. |
Running
still results in the same error, so the GHC environment file should not be the problem here. I am using
The index state picked by If go back to 117e2ba, then everything compiles, so it must be #2448/#2449 that introduce the issue. |
I'd be really surprised if this works, but does it work if you remove your |
I do a fresh |
Okay thanks. I'll investigate. |
Test results:
So it's really the combination of
Edit: terrible script |
Can't you just add a |
The workaround works for me. Thanks. |
Isn't it just this?
Since I'm still somewhat ill, my mind might produce weird code, so read well. [edit] |
I think the |
I have created a little repository to do the testing with Martijns script outside
Note that The script is here. Its accompanying repo (which it will clone automatically) is here. Its current branch [edit] |
And the version on branch |
I get the following error when I try to compile
clash-lib
with ghc-9.0.2:The text was updated successfully, but these errors were encountered: