From b7fa5f13c95b4349d4193cd0e6e2c9b8b8a799c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sat, 12 Sep 2009 18:46:04 +0000 Subject: [PATCH] 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 --- pkgs/lib/platforms.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/lib/platforms.nix b/pkgs/lib/platforms.nix index de75887cbca..ecb13e2773d 100644 --- a/pkgs/lib/platforms.nix +++ b/pkgs/lib/platforms.nix @@ -2,6 +2,7 @@ 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"];