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.
This commit is contained in:
phaer
2025-01-11 00:23:10 +01:00
parent 3718eb9874
commit 54632790fb
+1 -1
View File
@@ -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."
)