From 54632790fbd6e717db81ed2d98e295922e8e7cbf Mon Sep 17 00:00:00 2001 From: phaer Date: Sat, 11 Jan 2025 00:19:59 +0100 Subject: [PATCH] nixos/image/images: fix sd-card image on aarch64 by using qemuArch, not linuxArch. The former is "aarch64", while the later is "arm64" on such machines. --- nixos/modules/image/images.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/image/images.nix b/nixos/modules/image/images.nix index 84e364818adc..b693f3b51e5e 100644 --- a/nixos/modules/image/images.nix +++ b/nixos/modules/image/images.nix @@ -51,7 +51,7 @@ let sd-card = [ ( let - module = ../. + "/installer/sd-card/sd-image-${pkgs.targetPlatform.linuxArch}.nix"; + module = ../. + "/installer/sd-card/sd-image-${pkgs.targetPlatform.qemuArch}.nix"; in if builtins.pathExists module then module else throw "The module ${module} does not exist." )