pkgs/stdenv/generic: cosmetic changes
svn path=/nixpkgs/trunk/; revision=23361
This commit is contained in:
parent
eb9c20eaf3
commit
960323ec73
@ -90,7 +90,9 @@ let
|
|||||||
(if attrs ? passthru then attrs.passthru else {});
|
(if attrs ? passthru then attrs.passthru else {});
|
||||||
|
|
||||||
# Utility flags to test the type of platform.
|
# Utility flags to test the type of platform.
|
||||||
isDarwin = result.system == "i686-darwin" || result.system == "powerpc-darwin" || result.system == "x86_64-darwin";
|
isDarwin = result.system == "i686-darwin"
|
||||||
|
|| result.system == "powerpc-darwin"
|
||||||
|
|| result.system == "x86_64-darwin";
|
||||||
isLinux = result.system == "i686-linux"
|
isLinux = result.system == "i686-linux"
|
||||||
|| result.system == "x86_64-linux"
|
|| result.system == "x86_64-linux"
|
||||||
|| result.system == "powerpc-linux"
|
|| result.system == "powerpc-linux"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user