git.iko.soy/typeable/nixpkgs
on master help sign in
treewide: go: inherit platforms instead of using platforms.all

`buildGoModule` and `buildGoPackage` by default inherit the `platforms` from go. That seems better than explicitly configuring `platforms.all`. There are also many packages that specify 'linux + darwin' - this is even suggested in the documentation. We might also want to update those, but let's do the noncontroversial change first.

commit1be3d412c055994870de783417c52af4ef443260 authorArnout Engelen <arnout@bzzt.net> dateMon 26 Apr 2021, 08:55 (6 years ago) parent35dfa0e
8 files changed−8
pkgs/applications/editors/gophernotes/default.nix−1 pkgs/applications/networking/cluster/helm/plugins/helm-diff.nix−1 pkgs/applications/networking/cluster/helm/plugins/helm-s3.nix−1 pkgs/applications/version-management/git-and-tools/ghorg/default.nix−1 pkgs/development/libraries/boringssl/default.nix−1 pkgs/development/tools/protoc-gen-go-grpc/default.nix−1 pkgs/servers/irc/robustirc-bridge/default.nix−1 pkgs/servers/monitoring/mackerel-agent/default.nix−1
pkgs/applications/editors/gophernotes/default.nix−1
@@ -21,6 +21,5 @@ buildGoModule rec {
2121 homepage = "https://github.com/gopherdata/gophernotes";
2222 license = licenses.mit;
2323 maintainers = [ maintainers.costrouc ];
24− platforms = platforms.all;
2524 };
2625}
pkgs/applications/networking/cluster/helm/plugins/helm-diff.nix−1
@@ -30,6 +30,5 @@ buildGoModule rec {
3030 inherit (src.meta) homepage;
3131 license = licenses.apsl20;
3232 maintainers = with maintainers; [ yurrriq ];
33− platforms = platforms.all;
3433 };
3534}
pkgs/applications/networking/cluster/helm/plugins/helm-s3.nix−1
@@ -33,6 +33,5 @@ buildGoModule rec {
3333 inherit (src.meta) homepage;
3434 license = licenses.apsl20;
3535 maintainers = with maintainers; [ yurrriq ];
36− platforms = platforms.all;
3736 };
3837}
pkgs/applications/version-management/git-and-tools/ghorg/default.nix−1
@@ -32,6 +32,5 @@ buildGoModule rec {
3232 homepage = "https://github.com/gabrie30/ghorg";
3333 license = licenses.asl20;
3434 maintainers = with maintainers; [ vidbina ];
35− platforms = platforms.all;
3635 };
3736}
pkgs/development/libraries/boringssl/default.nix−1
@@ -52,7 +52,6 @@ buildGoModule {
5252 meta = with lib; {
5353 description = "Free TLS/SSL implementation";
5454 homepage = "https://boringssl.googlesource.com";
55− platforms = platforms.all;
5655 maintainers = [ maintainers.thoughtpolice ];
5756 license = with licenses; [ openssl isc mit bsd3 ];
5857 };
pkgs/development/tools/protoc-gen-go-grpc/default.nix−1
@@ -24,6 +24,5 @@ buildGoPackage rec {
2424 description = "The Go language implementation of gRPC. HTTP/2 based RPC";
2525 license = licenses.asl20;
2626 maintainers = [ maintainers.raboof ];
27− platforms = platforms.all;
2827 };
2928}
pkgs/servers/irc/robustirc-bridge/default.nix−1
@@ -24,6 +24,5 @@ buildGoModule rec {
2424 homepage = "https://robustirc.net/";
2525 license = licenses.bsd3;
2626 maintainers = [ maintainers.hax404 ];
27− platforms = platforms.all;
2827 };
2928}
pkgs/servers/monitoring/mackerel-agent/default.nix−1
@@ -37,6 +37,5 @@ buildGoModule rec {
3737 homepage = "https://github.com/mackerelio/mackerel-agent";
3838 license = licenses.asl20;
3939 maintainers = with maintainers; [ midchildan ];
40− platforms = platforms.all;
4140 };
4241}