diff options
author | dramforever <dramforever@live.com> | 2022-08-01 16:43:55 +0800 |
---|---|---|
committer | dramforever <dramforever@live.com> | 2022-08-01 16:43:55 +0800 |
commit | 584cfd8caa3927f8acdde9eaffbb3a21162bb4ec (patch) | |
tree | 3c73a44222cf18ffdb32dc58f77db14d54bc2a26 /lib | |
parent | afa351c847e066ce09af0a89664281998f78f1d3 (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.nix | 2 |
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: |