git.iko.soy/typeable/nixpkgs
on master help sign in
Making go build for any arm.
commit4b09501f23f128cf46f3eb57d615aa0c2c106125 authorLluís Batlle i Rossell <viric@viric.name> dateFri 15 May 2015, 13:23 (12 years ago) parent1e0ab1d
1 file changed+1−1
pkgs/development/compilers/go/1.4.nix+1−1
pkgs/development/compilers/go/1.4.nix+1−1
@@ -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