-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
compcert: fix source hash #57848
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
compcert: fix source hash #57848
Conversation
@@ -16,15 +16,14 @@ stdenv.mkDerivation rec { | |||
|
|||
src = fetchurl { | |||
url = "http://compcert.inria.fr/release/${name}.tgz"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be more stable https://github.com/AbsInt/CompCert
Hopefully the archives don't defer too much.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe that both sources are tightly coupled. How could one be more stable than the other?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@worldofpeace is saying that by using the Git repository tags to fetch rather than the inria.fr server, there will probably be no force pushes to master which would retroactively invalidate hashes. Which I'd agree with, and probably would make it more stable in the future if this repeatedly happens -- but in this case we don't even know what changed, unfortunately (there are no commits to CompCert since the 3.5 tag was posted, which is odd...)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's also https
@xavierleroy any idea why the hashes changes? |
Yes, I forgot to update a file, so I re-did the release. The bad release was out for less than 24 hours and hadn't been announced, so I took the liberty of fixing it rather than do another release. I didn't know you packagers worked so fast :-) Release tarballs can be downloaded from caml.inria.fr or from github.com, but I would use github.com as more reliable overall. Finally, there was no commit to master since 3.5 release, indeed. Nothing to worry about, just some work that is going on on branches and that will be merged soon. Hope this answers all your questions. |
Thanks for the explanation. I’ve thus updated the package to fetch the sources from the github tag. |
@GrahamcOfBorg build compcert |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Builds successfully on NixOS.
Motivation for this change
Current package is broken (the contents of the source tarball have been updated).
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)