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/github.com/src-d/gcfg/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'third_party/gopkgs/github.com/src-d/gcfg/default.nix') diff --git a/third_party/gopkgs/github.com/src-d/gcfg/default.nix b/third_party/gopkgs/github.com/src-d/gcfg/default.nix index 2906063428de..ed51f454715b 100644 --- a/third_party/gopkgs/github.com/src-d/gcfg/default.nix +++ b/third_party/gopkgs/github.com/src-d/gcfg/default.nix @@ -10,7 +10,7 @@ depot.buildGo.external { sha256 = "044j95skmyrwjw5fwjk6ka32rjgsg0ar0mfp9np19sh1acwv4x4r"; }; - deps = with depot.third_party; map (p: p.gopkg) [ + deps = with depot.third_party; [ gopkgs."gopkg.in".warnings ]; } -- cgit 1.4.1