stdenv: Put back isArm, with deprecation notice.

This was always meant to be deprecated rather than removed.
This commit is contained in:
John Ericson
2018-05-07 20:14:52 -04:00
parent b9acfb4ecf
commit 302c4c5f2d
+1
View File
@@ -118,6 +118,7 @@ let
inherit (hostPlatform)
isDarwin isLinux isSunOS isHurd isCygwin isFreeBSD isOpenBSD
isi686 isx86_64 is64bit isAarch32 isAarch64 isMips isBigEndian;
isArm = builtins.trace "stdenv.isArm is deprecated after 18.03" hostPlatform.isArm;
# Whether we should run paxctl to pax-mark binaries.
needsPax = isLinux;