pkgs/stdenv/generic: added isSunOS attribute, similar to isLinux, isDarwin, etc.

svn path=/nixpkgs/trunk/; revision=22995
This commit is contained in:
Peter Simons 2010-08-06 12:44:54 +00:00
parent 401b77d232
commit 4defdcc50c

View File

@ -95,6 +95,7 @@ let
|| result.system == "x86_64-linux" || result.system == "x86_64-linux"
|| result.system == "powerpc-linux" || result.system == "powerpc-linux"
|| result.system == "armv5tel-linux"; || result.system == "armv5tel-linux";
isSunOS = result.system == "i386-sunos";
isi686 = result.system == "i686-linux" isi686 = result.system == "i686-linux"
|| result.system == "i686-darwin" || result.system == "i686-darwin"
|| result.system == "i686-freebsd" || result.system == "i686-freebsd"