2009-08-25 09:28:08 +01:00
|
|
|
let
|
|
|
|
lists = import ./lists.nix;
|
|
|
|
in
|
|
|
|
rec {
|
2009-09-12 19:46:04 +01:00
|
|
|
gnu = linux; /* ++ hurd ++ kfreebsd ++ ... */
|
2009-08-27 08:17:57 +01:00
|
|
|
linux = ["i686-linux" "x86_64-linux" "powerpc-linux"];
|
|
|
|
darwin = ["i686-darwin" "powerpc-darwin"];
|
|
|
|
freebsd = ["i686-freebsd" "x86_64-freebsd" "powerpc-freebsd"];
|
2009-08-25 09:28:08 +01:00
|
|
|
cygwin = ["i686-cygwin"];
|
2009-08-27 08:17:57 +01:00
|
|
|
all = linux ++ darwin ++ cygwin ++ freebsd;
|
2009-08-25 09:28:08 +01:00
|
|
|
allBut = platform: lists.filter (x: platform != x) all;
|
2009-09-16 16:12:24 +01:00
|
|
|
mesaPlatforms = linux ++ darwin ++ freebsd;
|
2009-08-25 09:28:08 +01:00
|
|
|
}
|