mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
bintools-wrapper: fix breakage on aarch64, where "isArm" is false
Unintentionally changed in #35247
This commit is contained in:
parent
4f6b085c5e
commit
f14ff86ec9
@ -171,7 +171,7 @@ stdenv.mkDerivation {
|
||||
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"
|
||||
|
Loading…
Reference in New Issue
Block a user