building '/nix/store/bb6ai7mn37881im72lr2xhgk576f1yaa-dietz-cu2-Makefile.patch?id=07d6c37d18811e2b377a9689790a7c5e24da16ba.drv'...
trying https://git.sagemath.org/sage.git/plain/build/pkgs/rubiks/patches/dietz-cu2-Makefile.patch?id=07d6c37d18811e2b377a9689790a7c5e24da16ba
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 9115 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404
error: cannot download dietz-cu2-Makefile.patch?id=07d6c37d18811e2b377a9689790a7c5e24da16ba from any mirror
trying https://raw.githubusercontent.com/sagemath/sage/develop/build/pkgs/rubiks/patches/dietz-cu2-Makefile.patch?id=07d6c37d18811e2b377a9689790a7c5e24da16ba
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1059 100 1059 0 0 3845 0 --:--:-- --:--:-- --:--:-- 3850
error: hash mismatch in fixed-output derivation '/nix/store/a6xxf5q9bh1xfhq2jk8izd14f5xw0mam-dietz-cu2-Makefile.patch?id=07d6c37d18811e2b377a9689790a7c5e24da16ba.drv':
specified: sha256-uOKUWM6P/krhalRJdyFplN4Y2wpK0R9Sw5LgNGvgw+c=
got: sha256-bRU7MJ/6BgCp2PUqZOragJhm38Q3E8ShStXQIYwIjvw=
Steps To Reproduce
Steps to reproduce the behavior:
Build log
Additional context
Since all these URLs on
git.sagemath.org
seem to fail, I changed them to correspondingraw.githubusercontent.com
URLs: https://github.com/zeuner/nixpkgs/tree/rubiks-download-fix . However, this leads to a hash mismatch:Unfortunately, I don't have the previous patch available, so I can't check what change leads to the hash mismatch. This one particular patch doesn't look unreasonable. I don't know how to update the hash entry, though, because it does not follow the
sha-256-
notation: https://github.com/zeuner/nixpkgs/commit/0ca86d970642a81cfeb9b3d19e944861c4abb8f5#diff-fd1b8a8025457c6f8c2fc29431ea1e4fc177a47d5ab85fc5c63bd198ff04a430L32Notify maintainers
@timokau @omasanori @raskin @collares
Metadata