···272272 if stdenv.system == "x86_64-linux" then "ld-linux-x86-64.so.2" else
273273 # ARM with a wildcard, which can be "" or "-armhf".
274274 if stdenv.isArm then "ld-linux*.so.3" else
275275+ if stdenv.system == "aarch64-linux" then "ld-linux-aarch64.so.1" else
275276 if stdenv.system == "powerpc-linux" then "ld.so.1" else
276277 if stdenv.system == "mips64el-linux" then "ld.so.1" else
277278 if stdenv.system == "x86_64-darwin" then "/usr/lib/dyld" else
···311311 || system == "armv5tel-linux"
312312 || system == "armv6l-linux"
313313 || system == "armv7l-linux"
314314+ || system == "aarch64-linux"
314315 || system == "mips64el-linux";
315316 isGNU = system == "i686-gnu"; # GNU/Hurd
316317 isGlibc = isGNU # useful for `stdenvNative'
···348349 isArm = system == "armv5tel-linux"
349350 || system == "armv6l-linux"
350351 || system == "armv7l-linux";
352352+ isAarch64 = system == "aarch64-linux";
351353 isBigEndian = system == "powerpc-linux";
352354353355 # Whether we should run paxctl to pax-mark binaries.
+1
pkgs/stdenv/linux/default.nix
···1212 "armv5tel-linux" = import ./bootstrap-files/armv5tel.nix;
1313 "armv6l-linux" = import ./bootstrap-files/armv6l.nix;
1414 "armv7l-linux" = import ./bootstrap-files/armv7l.nix;
1515+ "aarch64-linux" = import ./bootstrap-files/aarch64.nix;
1516 "mips64el-linux" = import ./bootstrap-files/loongson2f.nix;
1617 }.${localSystem.system}
1718 or (abort "unsupported platform for the pure Linux stdenv")