mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
b7a90c11d3
meta.platforms. * Valgrind *should* work on Darwin now, except that our GCC doesn't recognise the -arch flag. svn path=/nixpkgs/trunk/; revision=17372
13 lines
474 B
Nix
13 lines
474 B
Nix
let lists = import ./lists.nix; in
|
|
|
|
rec {
|
|
gnu = linux; /* ++ hurd ++ kfreebsd ++ ... */
|
|
linux = ["i686-linux" "x86_64-linux" "powerpc-linux"];
|
|
darwin = ["i686-darwin" "powerpc-darwin"];
|
|
freebsd = ["i686-freebsd" "x86_64-freebsd" "powerpc-freebsd"];
|
|
cygwin = ["i686-cygwin"];
|
|
unix = linux ++ darwin ++ freebsd;
|
|
all = linux ++ darwin ++ cygwin ++ freebsd;
|
|
allBut = platform: lists.filter (x: platform != x) all;
|
|
mesaPlatforms = linux ++ darwin ++ freebsd;
|
|
}
|