mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 10:53:11 +00:00
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:
parent
ce31c6b019
commit
e065861a4f
@ -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 []) ++
|
||||
|
Loading…
Reference in New Issue
Block a user