-
Notifications
You must be signed in to change notification settings - Fork 52
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
Hash Mismatch in Skopeo Patch #149
Comments
I'm encountering this as well without about the same timing. Do you know if there's a way to work around this from a flake that pulls in nix2container as an input? Trying to wrap something up at work that depends on it so this is awkward timing. |
I created a fork that patches the new hash sum in: https://github.com/jokatzke/nix2container/tree/fix-hash-mismatch -- there doesn't seem to be a convenient way of overriding or patching, unfortunately. |
It looks like github changed the way their patch are generated. This is the differences between the previous patch file and the current patch file:
|
Should be fixed by #150 |
this is back to the old hash, see #152 |
as per recommendation in nlewo#152 (comment)
Since roughly four to five hours ago, the sha256-sum of the patch applied to skopeo appears to have changed from
sha256-dKEObfZY2fdsza/kObCLhv4l2snuzAbpDi4fGmtTPUQ=
tosha256-1Tj9D+ePjGL5u04aT7zr5rJw4vHAVrXAsr4owdooC/Y=
, causing any subsequent build to fail.For reference, this is where the patch is being pulled:
nix2container/default.nix
Lines 31 to 48 in 3853e5c
I found it kind of difficult to try to force Nix to re-fetch the patch, so I just created an overlay:
I tried building the patch on revisions
3cddaded2282a7806229af1c5bef222ef0143833
(nixpkgs-unstable),a6292e34000dc93d43bccf78338770c1c5ec8a99
(nixpkgs-unstable), and2527da1ef492c495d5391f3bcf9c1dd9f4514e32
(nixos-24.05) of nixpkgs, all of which failed with the exact same error and resulting sha256-sum.The text was updated successfully, but these errors were encountered: