From 1299c020e9db341944dd1003b6cdc4f9d5a82c56 Mon Sep 17 00:00:00 2001 From: Jaka Hudoklin Date: Sun, 22 Feb 2015 11:57:44 +0100 Subject: [PATCH] Add a list of platforms organized by architecture --- lib/platforms.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/platforms.nix b/lib/platforms.nix index 93ede5cef08..e290b7cfdd1 100644 --- a/lib/platforms.nix +++ b/lib/platforms.nix @@ -13,4 +13,7 @@ rec { none = []; allBut = platforms: lists.filter (x: !(builtins.elem x platforms)) all; mesaPlatforms = ["i686-linux" "x86_64-linux" "x86_64-darwin" "armv5tel-linux" "armv6l-linux"]; + x64 = ["x86_64-linux" "x86_64-darwin" "x86_64-freebsd" "x86_64-openbsd" "x86_64-netbsd" "x86_64-cygwin"]; + i686 = ["i686-linux" "i686-freebsd" "i686-netbsd" "i686-cygwin"]; + arm = ["armv5tel-linux" "armv6l-linux" "armv7l-linux" "mips64el-linux"]; }