···272 if stdenv.system == "x86_64-linux" then "ld-linux-x86-64.so.2" else
273 # ARM with a wildcard, which can be "" or "-armhf".
274 if stdenv.isArm then "ld-linux*.so.3" else
0275 if stdenv.system == "powerpc-linux" then "ld.so.1" else
276 if stdenv.system == "mips64el-linux" then "ld.so.1" else
277 if stdenv.system == "x86_64-darwin" then "/usr/lib/dyld" else
···272 if stdenv.system == "x86_64-linux" then "ld-linux-x86-64.so.2" else
273 # ARM with a wildcard, which can be "" or "-armhf".
274 if stdenv.isArm then "ld-linux*.so.3" else
275+ if stdenv.system == "aarch64-linux" then "ld-linux-aarch64.so.1" else
276 if stdenv.system == "powerpc-linux" then "ld.so.1" else
277 if stdenv.system == "mips64el-linux" then "ld.so.1" else
278 if stdenv.system == "x86_64-darwin" then "/usr/lib/dyld" else
···311 || system == "armv5tel-linux"
312 || system == "armv6l-linux"
313 || system == "armv7l-linux"
0314 || system == "mips64el-linux";
315 isGNU = system == "i686-gnu"; # GNU/Hurd
316 isGlibc = isGNU # useful for `stdenvNative'
···348 isArm = system == "armv5tel-linux"
349 || system == "armv6l-linux"
350 || system == "armv7l-linux";
0351 isBigEndian = system == "powerpc-linux";
352353 # Whether we should run paxctl to pax-mark binaries.
···311 || system == "armv5tel-linux"
312 || system == "armv6l-linux"
313 || system == "armv7l-linux"
314+ || system == "aarch64-linux"
315 || system == "mips64el-linux";
316 isGNU = system == "i686-gnu"; # GNU/Hurd
317 isGlibc = isGNU # useful for `stdenvNative'
···349 isArm = system == "armv5tel-linux"
350 || system == "armv6l-linux"
351 || system == "armv7l-linux";
352+ isAarch64 = system == "aarch64-linux";
353 isBigEndian = system == "powerpc-linux";
354355 # Whether we should run paxctl to pax-mark binaries.
+1
pkgs/stdenv/linux/default.nix
···12 "armv5tel-linux" = import ./bootstrap-files/armv5tel.nix;
13 "armv6l-linux" = import ./bootstrap-files/armv6l.nix;
14 "armv7l-linux" = import ./bootstrap-files/armv7l.nix;
015 "mips64el-linux" = import ./bootstrap-files/loongson2f.nix;
16 }.${localSystem.system}
17 or (abort "unsupported platform for the pure Linux stdenv")
···12 "armv5tel-linux" = import ./bootstrap-files/armv5tel.nix;
13 "armv6l-linux" = import ./bootstrap-files/armv6l.nix;
14 "armv7l-linux" = import ./bootstrap-files/armv7l.nix;
15+ "aarch64-linux" = import ./bootstrap-files/aarch64.nix;
16 "mips64el-linux" = import ./bootstrap-files/loongson2f.nix;
17 }.${localSystem.system}
18 or (abort "unsupported platform for the pure Linux stdenv")
+15-1
pkgs/stdenv/linux/make-bootstrap-tools-cross.nix
···50 };
51 };
5200000000000053 selectedCrossSystem =
54 if toolsArch == "armv5tel" then sheevaplugCrossSystem else
55 if toolsArch == "armv6l" then raspberrypiCrossSystem else
56- if toolsArch == "armv7l" then armv7l-hf-multiplatform-crossSystem else null;
05758 pkgsUnspliced = pkgsFun ({inherit system;} // selectedCrossSystem);
59 pkgs = pkgsUnspliced.splicedPackages;
···265 armv5tel = buildFor "armv5tel";
266 armv6l = buildFor "armv6l";
267 armv7l = buildFor "armv7l";
0268}