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
coq: 8.13+beta1 -> 8.13.0 #109479
coq: 8.13+beta1 -> 8.13.0 #109479
Conversation
This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch) Result of 1 package failed to build and are new build failure:
We should probably mark this as broken:
|
|
Cyril: how to guess the correct hash? IIUC, by reading the code, the Also, what’s wrong with the Greek letters in the file paths? ping @CohenCyril |
The darwin file system has probably a problem with it. You can skip the tests or mark the package broken on darwin. You probably need to pass --unpack to nix-prefetch-url
|
I don't understand what is happening, I have the same problem. The weird thing is that I did not have to change any of the previous Coq sha256... (e.g. Coq 8.12.0 sha256 from
I don't know, I cannot manage to get |
Maybe we are having the same problems as in #107768? |
I'm totally confused, I downloaded both the zip and the tar.gz, extracted both |
Jarl, can you please fix the hash? |
@vbgl Which hash do you want me to change to? The one in the PR is the one My understanding of the comments above is that there's an issue on darwin, which I can't test or do anything about. |
@GrahamcOfBorg build coq_8_13 |
This is the correct hash: $ nix-prefetch-url --unpack https://github.com/coq/coq/archive/V8.13.0.zip
unpacking...
[8.5 MiB DL]
path is '/nix/store/a7h7ym385f3kw62csx2rmy8zghbgmp4b-V8.13.0.zip'
1l2c63vskp8kiyxiyi5rpgbmnv67ysn3y4lybd6nj0li5llibifi
The issue on darwin is that |
Yeah, that's the one used in this PR as well.
Great! Unfortunately not something I can help with. I'm guessing that when the issues on darwin have been resolved, this PR can simply be merged. |
No we cannot merge have a look at this please: the CI fails on this PR. There is a discrepancy between the output of $ nix-build -E '(import <nixpkgs> {}).fetchzip {url = "https://github.com/coq/coq/archive/V8.13.0.zip"; sha256="1l2c63vskp8kiyxiyi5rpgbmnv67ysn3y4lybd6nj0li5llibifi"; }' EDIT: Now I narrowed it down, I will submit an issue... |
Thanks for the clarification, @CohenCyril! I tried the corrected hash and everything seems to work fine on my side. Hopefully the CI agrees. (Now I'm wondering, why did my previous hash work?) |
When there is already a path in the store with the expected hash, nix is lazy and won’t try to build it again. |
@ofborg eval |
@GrahamcOfBorg build coqPackages_8_13 |
This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch). Result of 1 package built:
The following issues got detected with the above build packages. coq_8_13: Please consider this feature to be alpha. A substituteInPlace with an unmatched pattern got detected:
Please check the offending substituteInPlace for typos or changes in source. Near pkgs/applications/science/logic/coq/default.nix:179:5:
See: https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/unclear-gpl.md |
This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch). Result of 1 package failed to build and are new build failure:
|
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)You can check correctness of the sha with:
nix-prefetch-url --unpack https://github.com/coq/coq/archive/V8.13.0.tar.gz