From e065861a4f3adb07df55f756a7bcaf894a0383ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Wed, 14 Dec 2016 10:26:20 +0100 Subject: [PATCH] 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 --- pkgs/development/go-modules/generic/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/go-modules/generic/default.nix b/pkgs/development/go-modules/generic/default.nix index d3a31f321892..c707592e4ae3 100644 --- a/pkgs/development/go-modules/generic/default.nix +++ b/pkgs/development/go-modules/generic/default.nix @@ -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 []) ++