stdenv: Remove isArm (use isAarch32 instead)
isArm has been deprecated for three releases. All references have been removed. Tree-wide substitution was performed in #37401 21 months ago.
This commit is contained in:
parent
a7835b936e
commit
5d4821141b
|
@ -55,9 +55,6 @@ rec {
|
||||||
|
|
||||||
isEfi = map (family: { cpu.family = family; })
|
isEfi = map (family: { cpu.family = family; })
|
||||||
[ "x86" "arm" "aarch64" ];
|
[ "x86" "arm" "aarch64" ];
|
||||||
|
|
||||||
# Deprecated after 18.03
|
|
||||||
isArm = isAarch32;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
matchAnyAttrs = patterns:
|
matchAnyAttrs = patterns:
|
||||||
|
|
|
@ -137,9 +137,6 @@ let
|
||||||
isi686 isx86_32 isx86_64
|
isi686 isx86_32 isx86_64
|
||||||
is32bit is64bit
|
is32bit is64bit
|
||||||
isAarch32 isAarch64 isMips isBigEndian;
|
isAarch32 isAarch64 isMips isBigEndian;
|
||||||
isArm = lib.warn
|
|
||||||
"`stdenv.isArm` is deprecated after 18.03. Please use `stdenv.isAarch32` instead"
|
|
||||||
hostPlatform.isAarch32;
|
|
||||||
|
|
||||||
# The derivation's `system` is `buildPlatform.system`.
|
# The derivation's `system` is `buildPlatform.system`.
|
||||||
inherit (buildPlatform) system;
|
inherit (buildPlatform) system;
|
||||||
|
|
Loading…
Reference in New Issue