foundation/stage0: fix hex0 hashes for amd64 & arm64 #2

Merged
jakehamilton merged 1 commit from srd424/fix-hex0 into main 2024-06-17 10:59:53 +00:00
Member

I must confess to not understanding quite how all this works, but this seems to solve the problem of aarch64 fetching the x86-64 binary and vice-versa.

I must confess to not understanding quite how all this works, but this seems to solve the problem of aarch64 fetching the x86-64 binary and vice-versa.
srd424 added 1 commit 2024-06-16 19:13:37 +00:00
Author
Member
nixpkgs has them the other way around: https://github.com/NixOS/nixpkgs/blob/d850b620edda71029fef64e2c2715fe809f68dbd/pkgs/os-specific/linux/minimal-bootstrap/stage0-posix/hex0.nix#L12
Owner

nixpkgs has them the other way around: d850b620ed/pkgs/os-specific/linux/minimal-bootstrap/stage0-posix/hex0.nix (L12)

Oh my gosh. I think I get this then. Nix is doing the thing where it takes the hash provided to the fetcher and does a lookup. Then since it got a got it uses the cached value. UGH.

Thanks for catching this, not sure when I got them mixed up, but we can swap them around to be correct. Oops!

> nixpkgs has them the other way around: https://github.com/NixOS/nixpkgs/blob/d850b620edda71029fef64e2c2715fe809f68dbd/pkgs/os-specific/linux/minimal-bootstrap/stage0-posix/hex0.nix#L12 Oh my gosh. I think I get this then. Nix is doing the thing where it takes the hash provided to the fetcher and does a lookup. Then since it got a got it uses the cached value. UGH. Thanks for catching this, not sure when I got them mixed up, but we can swap them around to be correct. Oops!
jakehamilton approved these changes 2024-06-16 20:36:03 +00:00
jakehamilton left a comment
Owner

Thank you for catching this!

Thank you for catching this!
jakehamilton merged commit 8e9cb4fbe9 into main 2024-06-17 10:59:53 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: auxolotl/labs#2
No description provided.