add support for x86_64-darwin

svn path=/nixpkgs/trunk/; revision=18650
This commit is contained in:
Rob Vermaas 2009-11-26 15:30:56 +00:00
parent 5af066c31c
commit bcf010f111

View File

@ -68,7 +68,7 @@ let
(if attrs ? passthru then attrs.passthru else {});
# Utility flags to test the type of platform.
isDarwin = result.system == "i686-darwin" || result.system == "powerpc-darwin";
isDarwin = result.system == "i686-darwin" || result.system == "powerpc-darwin" || result.system == "x86_64-darwin";
isLinux = result.system == "i686-linux"
|| result.system == "x86_64-linux"
|| result.system == "powerpc-linux";
@ -77,7 +77,8 @@ let
|| result.system == "i686-freebsd"
|| result.system == "i686-openbsd"
|| result.system == "i386-sunos";
is64bit = result.system == "x86_64-linux";
is64bit = result.system == "x86_64-linux"
|| result.system == "x86_64-darwin";
# Utility function: allow stdenv to be easily regenerated with
# a different setup script. (See all-packages.nix for an