mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
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 New Issue
Block a user