mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue