about summary refs log tree commit diff
path: root/third_party/gopkgs/github.com
diff options
context:
space:
mode:
authoredef <edef@edef.eu>2020-08-03T19·28+0000
committeredef <edef@edef.eu>2020-08-04T07·43+0000
commit94387dbc25e350b56f3ba1c63145ff2ed4c3f43b (patch)
treecb7cb9b82a43e7c19fc648a770e92cb87329a96d /third_party/gopkgs/github.com
parent596e1f7f77e399d1ba32cd00747aa3f94f718a0d (diff)
chore: simplify buildGo expressions r/1580
This removes redundant `map (p: p.gopkg)` expressions.

Change-Id: If25d603c27d63ae011f396caf5d26cdfdb8c28d5
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1625
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
Diffstat (limited to 'third_party/gopkgs/github.com')
-rw-r--r--third_party/gopkgs/github.com/hashicorp/golang-lru/default.nix2
-rw-r--r--third_party/gopkgs/github.com/jbenet/go-context/default.nix2
-rw-r--r--third_party/gopkgs/github.com/src-d/gcfg/default.nix2
-rw-r--r--third_party/gopkgs/github.com/xanzy/ssh-agent/default.nix2
4 files changed, 4 insertions, 4 deletions
diff --git a/third_party/gopkgs/github.com/hashicorp/golang-lru/default.nix b/third_party/gopkgs/github.com/hashicorp/golang-lru/default.nix
index 4e8073f93a..19bbcf0d82 100644
--- a/third_party/gopkgs/github.com/hashicorp/golang-lru/default.nix
+++ b/third_party/gopkgs/github.com/hashicorp/golang-lru/default.nix
@@ -7,7 +7,7 @@ depot.buildGo.external {
     rev = "7f827b33c0f158ec5dfbba01bb0b14a4541fd81d";
   };
 
-  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
   ];
diff --git a/third_party/gopkgs/github.com/jbenet/go-context/default.nix b/third_party/gopkgs/github.com/jbenet/go-context/default.nix
index 4092f8ecff..8b3fdc891c 100644
--- a/third_party/gopkgs/github.com/jbenet/go-context/default.nix
+++ b/third_party/gopkgs/github.com/jbenet/go-context/default.nix
@@ -10,7 +10,7 @@ depot.buildGo.external {
     sha256 = "0q91f5549n81w3z5927n4a1mdh220bdmgl42zi3h992dcc4ls0sl";
   };
 
-  deps = with depot.third_party; map (p: p.gopkg) [
+  deps = with depot.third_party; [
     gopkgs."golang.org".x.net.context
   ];
 }
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 2906063428..ed51f45471 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
   ];
 }
diff --git a/third_party/gopkgs/github.com/xanzy/ssh-agent/default.nix b/third_party/gopkgs/github.com/xanzy/ssh-agent/default.nix
index b52165efe3..834e1f6074 100644
--- a/third_party/gopkgs/github.com/xanzy/ssh-agent/default.nix
+++ b/third_party/gopkgs/github.com/xanzy/ssh-agent/default.nix
@@ -10,7 +10,7 @@ depot.buildGo.external {
     sha256 = "1chjlnv5d6svpymxgsr62d992m2xi6jb5lybjc5zn1h3hv1m01av";
   };
 
-  deps = with depot.third_party; map (p: p.gopkg) [
+  deps = with depot.third_party; [
     gopkgs."golang.org".x.crypto.ssh.agent
   ];
 }