mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
b7fa5f13c9
The rationale is that usually applications don't care about the kernel but rather about the C library, tool chain, and standard utilities, which are GNU, not Linux. svn path=/nixpkgs/trunk/; revision=17069
13 lines
393 B
Nix
13 lines
393 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;
|
|
}
|