Skip to content

Commit

Permalink
Merge pull request #119833 from alyssais/doubles
Browse files Browse the repository at this point in the history
lib.systems.doubles.all: reorganize
  • Loading branch information
Ericson2314 committed Apr 23, 2021
2 parents 29bc071 + cf5d480 commit 9f3459a
Showing 1 changed file with 32 additions and 24 deletions.
56 changes: 32 additions & 24 deletions lib/systems/doubles.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,43 +6,51 @@ let
inherit (lib.attrsets) matchAttrs;

all = [
"aarch64-linux"
"armv5tel-linux" "armv6l-linux" "armv7a-linux" "armv7l-linux"
# Cygwin
"i686-cygwin" "x86_64-cygwin"

"mipsel-linux"
# Darwin
"x86_64-darwin" "i686-darwin" "aarch64-darwin" "armv7a-darwin"

"i686-cygwin" "i686-freebsd" "i686-linux" "i686-netbsd" "i686-openbsd"
# FreeBSD
"i686-freebsd" "x86_64-freebsd"

"x86_64-cygwin" "x86_64-freebsd" "x86_64-linux"
"x86_64-netbsd" "x86_64-openbsd" "x86_64-solaris"
# Genode
"aarch64-genode" "i686-genode" "x86_64-genode"

"x86_64-darwin" "i686-darwin" "aarch64-darwin" "armv7a-darwin"
# illumos
"x86_64-solaris"

"x86_64-windows" "i686-windows"
# JS
"js-ghcjs"

"wasm64-wasi" "wasm32-wasi"
# Linux
"aarch64-linux" "armv5tel-linux" "armv6l-linux" "armv7a-linux"
"armv7l-linux" "i686-linux" "mipsel-linux" "powerpc64-linux"
"powerpc64le-linux" "riscv32-linux" "riscv64-linux" "x86_64-linux"

"x86_64-redox"
# MMIXware
"mmix-mmixware"

"powerpc64-linux"
"powerpc64le-linux"
# NetBSD
"i686-netbsd" "x86_64-netbsd"

"riscv32-linux" "riscv64-linux"
# none
"aarch64-none" "arm-none" "armv6l-none" "avr-none" "i686-none" "msp430-none"
"or1k-none" "powerpc-none" "riscv32-none" "riscv64-none" "vc4-none"
"x86_64-none"

"arm-none" "armv6l-none" "aarch64-none"
"avr-none"
"i686-none" "x86_64-none"
"powerpc-none"
"msp430-none"
"riscv64-none" "riscv32-none"
"vc4-none"
"or1k-none"
# OpenBSD
"i686-openbsd" "x86_64-openbsd"

"mmix-mmixware"
# Redox
"x86_64-redox"

"js-ghcjs"
# WASI
"wasm64-wasi" "wasm32-wasi"

"aarch64-genode" "i686-genode" "x86_64-genode"
# Windows
"x86_64-windows" "i686-windows"
];

allParsed = map parse.mkSystemFromString all;
Expand Down

0 comments on commit 9f3459a

Please sign in to comment.