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.
This commit is contained in:
Arnout Engelen
2021-04-26 08:59:56 +02:00
parent 35dfa0e927
commit 1be3d412c0
8 changed files with 0 additions and 8 deletions
@@ -24,6 +24,5 @@ buildGoModule rec {
homepage = "https://robustirc.net/";
license = licenses.bsd3;
maintainers = [ maintainers.hax404 ];
platforms = platforms.all;
};
}
@@ -37,6 +37,5 @@ buildGoModule rec {
homepage = "https://github.com/mackerelio/mackerel-agent";
license = licenses.asl20;
maintainers = with maintainers; [ midchildan ];
platforms = platforms.all;
};
}