Merge pull request #36129 from dtzWill/fix/bintools-aarch64

bintools-wrapper: fix breakage on aarch64, where "isArm" is false

Changed files
+1 -1
pkgs
build-support
bintools-wrapper
+1 -1
pkgs/build-support/bintools-wrapper/default.nix
···
else if targetPlatform.isWindows then "pe"
else "elf" + toString targetPlatform.parsed.cpu.bits;
endianPrefix = if targetPlatform.isBigEndian then "big" else "little";
-
sep = optionalString (targetPlatform.isx86 || targetPlatform.isArm) "-";
+
sep = optionalString (!targetPlatform.isMips) "-";
arch =
/**/ if targetPlatform.isAarch64 then endianPrefix + "aarch64"
else if targetPlatform.isArm then endianPrefix + "arm"