mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
go: add mips64 support
This commit is contained in:
parent
b4f7a460fb
commit
55dae422e2
3 changed files with 6 additions and 3 deletions
|
@ -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…
Reference in a new issue