Skip to content

Commit

Permalink
stdenv: Remove isArm (use isAarch32 instead)
Browse files Browse the repository at this point in the history
isArm has been deprecated for three releases.  All references have been
removed.  Tree-wide substitution was performed in #37401 21 months ago.
  • Loading branch information
chkno committed Feb 5, 2020
1 parent a7835b9 commit 5d48211
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions lib/systems/inspect.nix
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@ rec {

isEfi = map (family: { cpu.family = family; })
[ "x86" "arm" "aarch64" ];

# Deprecated after 18.03
isArm = isAarch32;
};

matchAnyAttrs = patterns:
Expand Down
3 changes: 0 additions & 3 deletions pkgs/stdenv/generic/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,6 @@ let
isi686 isx86_32 isx86_64
is32bit is64bit
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`.
inherit (buildPlatform) system;
Expand Down

0 comments on commit 5d48211

Please sign in to comment.