summary refs log tree commit diff
path: root/pkgs/development/compilers/go/1.18.nix
diff options
context:
space:
mode:
authorAdam Joseph <adam@westernsemico.com>2022-02-20 21:35:14 -0800
committerzowoq <59103226+zowoq@users.noreply.github.com>2022-03-18 10:02:58 +1000
commit55dae422e271c4583756913760f2e2d1a0f5557b (patch)
tree416a6bdfe7665e8b92548e3e8ec2ad28d2fc3785 /pkgs/development/compilers/go/1.18.nix
parentb4f7a460fbf43787d1e1ed3b9cec2df00a55c882 (diff)
downloadnixpkgs-55dae422e271c4583756913760f2e2d1a0f5557b.tar
nixpkgs-55dae422e271c4583756913760f2e2d1a0f5557b.tar.gz
nixpkgs-55dae422e271c4583756913760f2e2d1a0f5557b.tar.bz2
nixpkgs-55dae422e271c4583756913760f2e2d1a0f5557b.tar.lz
nixpkgs-55dae422e271c4583756913760f2e2d1a0f5557b.tar.xz
nixpkgs-55dae422e271c4583756913760f2e2d1a0f5557b.tar.zst
nixpkgs-55dae422e271c4583756913760f2e2d1a0f5557b.zip
go: add mips64 support
Diffstat (limited to 'pkgs/development/compilers/go/1.18.nix')
-rw-r--r--pkgs/development/compilers/go/1.18.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/compilers/go/1.18.nix b/pkgs/development/compilers/go/1.18.nix
index 23e9f70d4da..a4cb013d94f 100644
--- a/pkgs/development/compilers/go/1.18.nix
+++ b/pkgs/development/compilers/go/1.18.nix
@@ -45,7 +45,8 @@ let
     "riscv64" = "riscv64";
     "s390x" = "s390x";
     "powerpc64le" = "ppc64le";
-  }.${platform.parsed.cpu.name} or (throw "Unsupported system");
+    "mips64el" = "mips64le";
+  }.${platform.parsed.cpu.name} or (throw "Unsupported system: ${platform.parsed.cpu.name}");
 
   # We need a target compiler which is still runnable at build time,
   # to handle the cross-building case where build != host == target