lib.platforms: move primary systems to the beginning of the list

This commit is contained in:
Eman Resu 2026-07-03 18:43:33 -04:00
commit 25a7ae8e4c

View file

@ -14,13 +14,16 @@ let
inherit (lib.attrsets) matchAttrs;
all = [
# our primary systems. at the top of the list for fastest matching
# inside check-meta
"x86_64-linux"
"aarch64-darwin"
"aarch64-linux"
# Cygwin
"i686-cygwin"
"x86_64-cygwin"
# Darwin
"aarch64-darwin"
# FreeBSD
"i686-freebsd"
"x86_64-freebsd"
@ -37,8 +40,7 @@ let
# JS
"javascript-ghcjs"
# Linux
"aarch64-linux"
# Linux (excluding the primary two at the top)
"arc-linux"
"armv5tel-linux"
"armv6l-linux"
@ -61,7 +63,6 @@ let
"riscv64-linux"
"s390-linux"
"s390x-linux"
"x86_64-linux"
# MMIXware
"mmix-mmixware"