Add `stdenv.isGNU'.
svn path=/nixpkgs/trunk/; revision=32836
This commit is contained in:
parent
d959dae915
commit
3214f4a844
@ -94,6 +94,7 @@ let
|
|||||||
|| result.system == "powerpc-linux"
|
|| result.system == "powerpc-linux"
|
||||||
|| result.system == "armv5tel-linux"
|
|| result.system == "armv5tel-linux"
|
||||||
|| result.system == "mips64el-linux";
|
|| result.system == "mips64el-linux";
|
||||||
|
isGNU = result.system == "i686-gnu"; # GNU/Hurd
|
||||||
isSunOS = result.system == "i686-solaris"
|
isSunOS = result.system == "i686-solaris"
|
||||||
|| result.system == "x86_64-solaris";
|
|| result.system == "x86_64-solaris";
|
||||||
isCygwin = result.system == "i686-cygwin";
|
isCygwin = result.system == "i686-cygwin";
|
||||||
@ -106,6 +107,7 @@ let
|
|||||||
|| result.system == "i686-openbsd"
|
|| result.system == "i686-openbsd"
|
||||||
|| result.system == "x86_64-openbsd";
|
|| result.system == "x86_64-openbsd";
|
||||||
isi686 = result.system == "i686-linux"
|
isi686 = result.system == "i686-linux"
|
||||||
|
|| result.system == "i686-gnu"
|
||||||
|| result.system == "i686-darwin"
|
|| result.system == "i686-darwin"
|
||||||
|| result.system == "i686-freebsd"
|
|| result.system == "i686-freebsd"
|
||||||
|| result.system == "i686-openbsd"
|
|| result.system == "i686-openbsd"
|
||||||
|
Loading…
Reference in New Issue
Block a user