summary refs log tree commit diff
path: root/pkgs/development/compilers/go/1.4.nix
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@viric.name>2015-05-15 13:23:49 +0000
committerLluís Batlle i Rossell <viric@viric.name>2015-05-15 13:24:32 +0000
commit4b09501f23f128cf46f3eb57d615aa0c2c106125 (patch)
treeb4ab8c5252aa538b72b282b5b5a7f115fa3db38c /pkgs/development/compilers/go/1.4.nix
parent1e0ab1d4ceae87f0859264f6c702b5ea52b4ebdf (diff)
downloadnixlib-4b09501f23f128cf46f3eb57d615aa0c2c106125.tar
nixlib-4b09501f23f128cf46f3eb57d615aa0c2c106125.tar.gz
nixlib-4b09501f23f128cf46f3eb57d615aa0c2c106125.tar.bz2
nixlib-4b09501f23f128cf46f3eb57d615aa0c2c106125.tar.lz
nixlib-4b09501f23f128cf46f3eb57d615aa0c2c106125.tar.xz
nixlib-4b09501f23f128cf46f3eb57d615aa0c2c106125.tar.zst
nixlib-4b09501f23f128cf46f3eb57d615aa0c2c106125.zip
Making go build for any arm.
Diffstat (limited to 'pkgs/development/compilers/go/1.4.nix')
-rw-r--r--pkgs/development/compilers/go/1.4.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/go/1.4.nix b/pkgs/development/compilers/go/1.4.nix
index 371496250056..473ff458ff87 100644
--- a/pkgs/development/compilers/go/1.4.nix
+++ b/pkgs/development/compilers/go/1.4.nix
@@ -74,7 +74,7 @@ stdenv.mkDerivation {
   GOARCH = if stdenv.isDarwin then "amd64"
            else if stdenv.system == "i686-linux" then "386"
            else if stdenv.system == "x86_64-linux" then "amd64"
-           else if stdenv.system == "armv5tel-linux" then "arm"
+           else if stdenv.isArm then "arm"
            else throw "Unsupported system";
   GOARM = stdenv.lib.optionalString (stdenv.system == "armv5tel-linux") "5";
   GO386 = 387; # from Arch: don't assume sse2 on i686