From 25a7ae8e4c86afa2ed78af02b60bc0bc666897d3 Mon Sep 17 00:00:00 2001 From: Eman Resu <78693624+quatquatt@users.noreply.github.com> Date: Fri, 3 Jul 2026 18:43:33 -0400 Subject: [PATCH] lib.platforms: move primary systems to the beginning of the list --- lib/systems/doubles.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/lib/systems/doubles.nix b/lib/systems/doubles.nix index 6c7457930e09..3970b69735a9 100644 --- a/lib/systems/doubles.nix +++ b/lib/systems/doubles.nix @@ -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"