-
Notifications
You must be signed in to change notification settings - Fork 237
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
Conflicting plan-sha256 reported #2001
Comments
Adding
So here is a theory: It tries to build |
I found this work-around; not sure how idiomatic that is:
|
@nomeata Thanks for the updates. I haven't had the chance of looking into this but I just want to say it didn't go unnoticed. |
Ok, I spent some times on this and I haven't got the bottom of it unfortunately. There must be something wrong with which If I reproduced this correctly:
The script
which is the hash we have passed! Let's see how the check is done:
where
which is the other hash. Surely we should not say One thing I don't understand is that looking at
one can identify haskell.nix/lib/materialize.nix Line 78 in 1ad94ae
Whose definition is haskell.nix/lib/materialize.nix Lines 131 to 139 in 1ad94ae
One would expect
which is "the other" plan. Maybe @hamishmack has better insight. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I am using haskell.nix to provide (among other things) Windows builds of a project of mine, and this usually works great.
Since the latest upgrade, though, I have trouble with the windows build: It keeps telling me to switch the
plan-sha256
between two values.To reproduce check out entropia/tip-toi-reveng#290 at revision
a64a59b587980896fa3e87de9163ed61bb86412f
and runThe hash is stored at
https://github.com/entropia/tip-toi-reveng/blob/a64a59b587980896fa3e87de9163ed61bb86412f/default.nix#L103
One of the plan hashes is the same as the linux one, so maybe a
currentSystem
snuck in somewhere where it shouldn’t?If I set the hash to
null
, the build succeeds.Not sure if it is relevant, but maybe it’s somehow related to how I help
haskell.nix
not get stuck on system depenedencies hier:https://github.com/entropia/tip-toi-reveng/blob/a64a59b587980896fa3e87de9163ed61bb86412f/default.nix#L15-L19
A hint would be appreciated!
The text was updated successfully, but these errors were encountered: