From 94387dbc25e350b56f3ba1c63145ff2ed4c3f43b Mon Sep 17 00:00:00 2001 From: edef Date: Mon, 3 Aug 2020 19:28:16 +0000 Subject: chore: simplify buildGo expressions This removes redundant `map (p: p.gopkg)` expressions. Change-Id: If25d603c27d63ae011f396caf5d26cdfdb8c28d5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1625 Reviewed-by: tazjin Tested-by: BuildkiteCI --- third_party/gopkgs/golang.org/x/oauth2/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'third_party/gopkgs/golang.org') diff --git a/third_party/gopkgs/golang.org/x/oauth2/default.nix b/third_party/gopkgs/golang.org/x/oauth2/default.nix index 230e629672..a0e4dac3ef 100644 --- a/third_party/gopkgs/golang.org/x/oauth2/default.nix +++ b/third_party/gopkgs/golang.org/x/oauth2/default.nix @@ -7,7 +7,7 @@ depot.buildGo.external { rev = "858c2ad4c8b6c5d10852cb89079f6ca1c7309787"; }; - deps = with depot.third_party; map (p: p.gopkg) [ + deps = with depot.third_party; [ gopkgs."golang.org".x.net.context.ctxhttp gopkgs."cloud.google.com".go.compute.metadata ]; -- cgit 1.4.1