From 584cfd8caa3927f8acdde9eaffbb3a21162bb4ec Mon Sep 17 00:00:00 2001 From: dramforever Date: Mon, 1 Aug 2022 16:43:55 +0800 Subject: [PATCH] lib/systems/inspect.nix: Add riscv to isEfi EFI boot on RISC-V is supported by GRUB and systemd-boot. Add them to isEfi to reflect this fact. --- lib/systems/inspect.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/systems/inspect.nix b/lib/systems/inspect.nix index e5bd879e2c42..a4fc777c1256 100644 --- a/lib/systems/inspect.nix +++ b/lib/systems/inspect.nix @@ -68,7 +68,7 @@ rec { isUClibc = with abis; map (a: { abi = a; }) [ uclibc uclibceabi uclibceabihf ]; isEfi = map (family: { cpu.family = family; }) - [ "x86" "arm" "aarch64" ]; + [ "x86" "arm" "aarch64" "riscv" ]; }; matchAnyAttrs = patterns: