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
@@ -30,6 +30,5 @@ buildGoModule rec {
inherit (src.meta) homepage;
license = licenses.apsl20;
maintainers = with maintainers; [ yurrriq ];
platforms = platforms.all;
};
}