Skip to content

Commit

Permalink
go: add mips64 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Joseph authored and zowoq committed Mar 18, 2022
1 parent b4f7a46 commit 55dae42
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion pkgs/development/compilers/go/1.16.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion pkgs/development/compilers/go/1.17.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion pkgs/development/compilers/go/1.18.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 55dae42

Please sign in to comment.