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