forked from mirrors/nixpkgs
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.
This commit is contained in:
parent
afa351c847
commit
584cfd8caa
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue