summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordramforever <dramforever@live.com>2022-08-01 16:43:55 +0800
committerdramforever <dramforever@live.com>2022-08-01 16:43:55 +0800
commit584cfd8caa3927f8acdde9eaffbb3a21162bb4ec (patch)
tree3c73a44222cf18ffdb32dc58f77db14d54bc2a26 /lib
parentafa351c847e066ce09af0a89664281998f78f1d3 (diff)
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.
Diffstat (limited to 'lib')
-rw-r--r--lib/systems/inspect.nix2
1 files changed, 1 insertions, 1 deletions
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: