Add gnu' as an alias for linux'.

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
This commit is contained in:
Ludovic Courtès 2009-09-12 18:46:04 +00:00
parent 0462878b22
commit b7fa5f13c9

View File

@ -2,6 +2,7 @@ let
lists = import ./lists.nix; lists = import ./lists.nix;
in in
rec { rec {
gnu = linux; /* ++ hurd ++ kfreebsd ++ ... */
linux = ["i686-linux" "x86_64-linux" "powerpc-linux"]; linux = ["i686-linux" "x86_64-linux" "powerpc-linux"];
darwin = ["i686-darwin" "powerpc-darwin"]; darwin = ["i686-darwin" "powerpc-darwin"];
freebsd = ["i686-freebsd" "x86_64-freebsd" "powerpc-freebsd"]; freebsd = ["i686-freebsd" "x86_64-freebsd" "powerpc-freebsd"];