go: declare support for aarch64
This commit is contained in:
parent
2784bd7168
commit
8d4b0eefce
@ -141,6 +141,7 @@ stdenv.mkDerivation rec {
|
|||||||
else if stdenv.system == "i686-linux" then "386"
|
else if stdenv.system == "i686-linux" then "386"
|
||||||
else if stdenv.system == "x86_64-linux" then "amd64"
|
else if stdenv.system == "x86_64-linux" then "amd64"
|
||||||
else if stdenv.isArm then "arm"
|
else if stdenv.isArm then "arm"
|
||||||
|
else if stdenv.isAarch64 then "arm64"
|
||||||
else throw "Unsupported system";
|
else throw "Unsupported system";
|
||||||
GOARM = optionalString (stdenv.system == "armv5tel-linux") "5";
|
GOARM = optionalString (stdenv.system == "armv5tel-linux") "5";
|
||||||
GO386 = 387; # from Arch: don't assume sse2 on i686
|
GO386 = 387; # from Arch: don't assume sse2 on i686
|
||||||
|
Loading…
Reference in New Issue
Block a user