buildGoPackage: reduce the default meta.platforms

platforms.all makes no sense as go.meta.platforms is smaller.  Discussion:
https://github.com/NixOS/nixpkgs/pull/20923#issuecomment-266763319
This commit is contained in:
Vladimír Čunát 2016-12-14 10:26:20 +01:00
parent ce31c6b019
commit e065861a4f
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -211,7 +211,7 @@ go.stdenv.mkDerivation (
meta = {
# Add default meta information
platforms = lib.platforms.all;
platforms = go.meta.platforms or lib.platforms.all;
} // meta // {
# add an extra maintainer to every package
maintainers = (meta.maintainers or []) ++