3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/lib/platforms.nix
Michael Raskin a1ea759dd9 Adding libev - an even loop library remotely similar to libevent
svn path=/nixpkgs/trunk/; revision=16877
2009-08-27 07:17:57 +00:00

12 lines
344 B
Nix

let
lists = import ./lists.nix;
in
rec {
linux = ["i686-linux" "x86_64-linux" "powerpc-linux"];
darwin = ["i686-darwin" "powerpc-darwin"];
freebsd = ["i686-freebsd" "x86_64-freebsd" "powerpc-freebsd"];
cygwin = ["i686-cygwin"];
all = linux ++ darwin ++ cygwin ++ freebsd;
allBut = platform: lists.filter (x: platform != x) all;
}