@@ -74,7 +74,7 @@ stdenv.mkDerivation {
7474 GOARCH = if stdenv.isDarwin then "amd64"
7575 else if stdenv.system == "i686-linux" then "386"
7676 else if stdenv.system == "x86_64-linux" then "amd64"
77− else if stdenv.system == "armv5tel-linux" then "arm"
77+ else if stdenv.isArm then "arm"
7878 else throw "Unsupported system";
7979 GOARM = stdenv.lib.optionalString (stdenv.system == "armv5tel-linux") "5";
8080 GO386 = 387; # from Arch: don't assume sse2 on i686