musl: set arch for aarch64 (#359046)

This commit is contained in:
Jörg Thalheim 2024-11-28 12:17:09 +01:00 committed by GitHub
commit 07c91eefe4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -37,9 +37,11 @@ let
arch = if stdenv.hostPlatform.isx86_64
then "x86_64"
else if stdenv.hostPlatform.isx86_32
then "i386"
else null;
else if stdenv.hostPlatform.isx86_32
then "i386"
else if stdenv.hostPlatform.isAarch64
then "aarch64"
else null;
in
stdenv.mkDerivation rec {