go: add mips64 support

main
Adam Joseph 2 years ago committed by zowoq
parent b4f7a460fb
commit 55dae422e2
  1. 3
      pkgs/development/compilers/go/1.16.nix
  2. 3
      pkgs/development/compilers/go/1.17.nix
  3. 3
      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

@ -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

@ -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

Loading…
Cancel
Save