2009-09-23 21:45:02 +02:00
|
|
|
let lists = import ./lists.nix; in
|
|
|
|
|
2009-08-25 10:28:08 +02:00
|
|
|
rec {
|
2009-09-23 21:45:02 +02:00
|
|
|
gnu = linux; /* ++ hurd ++ kfreebsd ++ ... */
|
2009-08-27 09:17:57 +02: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 10:28:08 +02:00
|
|
|
cygwin = ["i686-cygwin"];
|
2009-09-23 21:45:02 +02:00
|
|
|
unix = linux ++ darwin ++ freebsd;
|
2009-08-27 09:17:57 +02:00
|
|
|
all = linux ++ darwin ++ cygwin ++ freebsd;
|
2009-08-25 10:28:08 +02:00
|
|
|
allBut = platform: lists.filter (x: platform != x) all;
|
2009-09-16 17:12:24 +02:00
|
|
|
mesaPlatforms = linux ++ darwin ++ freebsd;
|
2009-08-25 10:28:08 +02:00
|
|
|
}
|