3
0
Fork 0
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:
dramforever 2022-08-01 16:43:55 +08:00
parent afa351c847
commit 584cfd8caa

View file

@ -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: