git.iko.soy/typeable/nixpkgs
on master help sign in
go: add mipsel/riscv64/s390x support
commite42adefce1f431583ed38c829d033d83ee79f095 authorJörg Thalheim <joerg@thalheim.io> dateFri 10 Dec 2021, 08:42 (5 years ago) parentdc91ac8
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