From 8d4b0eefce8801f0a7b63442e63f1fbdc6504796 Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Sun, 1 Oct 2017 21:31:54 +0000 Subject: go: declare support for aarch64 --- pkgs/development/compilers/go/1.9.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'pkgs/development/compilers/go/1.9.nix') diff --git a/pkgs/development/compilers/go/1.9.nix b/pkgs/development/compilers/go/1.9.nix index 11d28681abcd..49ac9feff806 100644 --- a/pkgs/development/compilers/go/1.9.nix +++ b/pkgs/development/compilers/go/1.9.nix @@ -141,6 +141,7 @@ stdenv.mkDerivation rec { else if stdenv.system == "i686-linux" then "386" else if stdenv.system == "x86_64-linux" then "amd64" else if stdenv.isArm then "arm" + else if stdenv.isAarch64 then "arm64" else throw "Unsupported system"; GOARM = optionalString (stdenv.system == "armv5tel-linux") "5"; GO386 = 387; # from Arch: don't assume sse2 on i686 -- cgit 1.4.1