forked from mirrors/nixpkgs
stdenv: Put back isArm, with deprecation notice.
This was always meant to be deprecated rather than removed.
This commit is contained in:
parent
b9acfb4ecf
commit
302c4c5f2d
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue