git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #150005 from Mic92/go

go: add mipsel/riscv64/s390x support

commit9549b866e3988fd47d271fd556d321c53f6f2018 authorJörg Thalheim <Mic92@users.noreply.github.com> dateFri 10 Dec 2021, 08:29 (5 years ago) parentc28b445e42adef
2 files changed+8−1
pkgs/development/compilers/go/1.16.nix+4−1 pkgs/development/compilers/go/1.17.nix+4
pkgs/development/compilers/go/1.16.nix+4−1
@@ -40,8 +40,11 @@ let
4040 "armv5tel" = "arm";
4141 "armv6l" = "arm";
4242 "armv7l" = "arm";
43− "powerpc64le" = "ppc64le";
4443 "mips" = "mips";
44+ "mipsel" = "mipsle";
45+ "riscv64" = "riscv64";
46+ "s390x" = "s390x";
47+ "powerpc64le" = "ppc64le";
4548 }.${platform.parsed.cpu.name} or (throw "Unsupported system");
4649
4750 # We need a target compiler which is still runnable at build time,
pkgs/development/compilers/go/1.17.nix+4
@@ -40,6 +40,10 @@ let
4040 "armv5tel" = "arm";
4141 "armv6l" = "arm";
4242 "armv7l" = "arm";
43+ "mips" = "mips";
44+ "mipsel" = "mipsle";
45+ "riscv64" = "riscv64";
46+ "s390x" = "s390x";
4347 "powerpc64le" = "ppc64le";
4448 }.${platform.parsed.cpu.name} or (throw "Unsupported system");
4549