mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-19 15:11:30 +00:00
lib.platforms: move primary systems to the beginning of the list
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user