mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
a9dc68b1ea
svn path=/nixpkgs/trunk/; revision=17205
14 lines
439 B
Nix
14 lines
439 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"];
|
|
all = linux ++ darwin ++ cygwin ++ freebsd;
|
|
allBut = platform: lists.filter (x: platform != x) all;
|
|
mesaPlatforms = linux ++ darwin ++ freebsd;
|
|
}
|