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:
@@ -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."
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user