From 8e9cb4fbe92205d0256bb9bc759f86c5d45ca487 Mon Sep 17 00:00:00 2001 From: Steve Dodd Date: Mon, 17 Jun 2024 10:59:52 +0000 Subject: [PATCH] foundation/stage0: fix hex0 hashes for amd64 & arm64 (#2) 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. Reviewed-on: https://git.auxolotl.org/auxolotl/labs/pulls/2 Reviewed-by: Jake Hamilton Co-authored-by: Steve Dodd Co-committed-by: Steve Dodd --- foundation/src/stages/stage0/phases/phase00.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/foundation/src/stages/stage0/phases/phase00.nix b/foundation/src/stages/stage0/phases/phase00.nix index effb534..8861c64 100644 --- a/foundation/src/stages/stage0/phases/phase00.nix +++ b/foundation/src/stages/stage0/phases/phase00.nix @@ -86,9 +86,9 @@ in { hash = lib.modules.overrides.default ( if system == "x86_64-linux" - then "sha256-XTPsoKeI6wTZAF0UwEJPzuHelWOJe//wXg4HYO0dEJo=" - else if system == "aarch64-linux" then "sha256-RCgK9oZRDQUiWLVkcIBSR2HeoB+Bh0czthrpjFEkCaY=" + else if system == "aarch64-linux" + then "sha256-XTPsoKeI6wTZAF0UwEJPzuHelWOJe//wXg4HYO0dEJo=" else if system == "i686-linux" then "sha256-QU3RPGy51W7M2xnfFY1IqruKzusrSLU+L190ztN6JW8=" else null