Addindg isArm and enlarging isMips for stdenv.

svn path=/nixpkgs/branches/stdenv-updates/; revision=23326
This commit is contained in:
Lluís Batlle i Rossell 2010-08-21 19:02:43 +00:00
parent 191961aa76
commit b9080de4fd

View File

@ -109,7 +109,10 @@ let
|| result.system == "x86_64-openbsd";
is64bit = result.system == "x86_64-linux"
|| result.system == "x86_64-darwin";
isMips = result.system == "ict_loongson-2_v0.3_fpu_v0.1-linux";
isMips = result.system == "ict_loongson-2_v0.3_fpu_v0.1-linux"
|| result.system == "mips-linux"
|| result.system == "mips64-linux";
isArm = result.system == "armv5tel-linux";
# Utility function: allow stdenv to be easily regenerated with
# a different setup script. (See all-packages.nix for an