add attribute isLinux. Nice for packages we only want to build on linux, but on different platforms (currently i686-linux and powerpc-linux)
svn path=/nixpkgs/trunk/; revision=6306
This commit is contained in:
parent
b5f16b3541
commit
c2f5345172
@ -51,6 +51,7 @@ let {
|
||||
|
||||
# Utility value: is this a Darwin system?
|
||||
isDarwin = result.system == "i686-darwin" || result.system == "powerpc-darwin";
|
||||
isLinux = result.system == "i686-linux" || result.system == "powerpc-linux";
|
||||
|
||||
# Utility function: allow stdenv to be easily regenerated with
|
||||
# a different setup script. (See all-packages.nix for an
|
||||
|
Loading…
Reference in New Issue
Block a user