2009-08-25 10:28:08 +02:00
|
|
|
let
|
|
|
|
lists = import ./lists.nix;
|
|
|
|
in
|
|
|
|
rec {
|
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-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;
|
|
|
|
}
|