about summary refs log tree commit diff
path: root/third_party/gopkgs/gopkg.in
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/gopkg.in
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/gopkg.in')
-rw-r--r--third_party/gopkgs/gopkg.in/src-d/go-billy/default.nix2
-rw-r--r--third_party/gopkgs/gopkg.in/src-d/go-git/default.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/third_party/gopkgs/gopkg.in/src-d/go-billy/default.nix b/third_party/gopkgs/gopkg.in/src-d/go-billy/default.nix
index 0ed4e343e107..a2737422bfe3 100644
--- a/third_party/gopkgs/gopkg.in/src-d/go-billy/default.nix
+++ b/third_party/gopkgs/gopkg.in/src-d/go-billy/default.nix
@@ -10,7 +10,7 @@ depot.buildGo.external {
     sha256 = "1j0pl6ggzmd2lrqj71vmsnl6cqm43145h7yg6sy3j5n7hhd592qv";
   };
 
-  deps = with depot.third_party; map (p: p.gopkg) [
+  deps = with depot.third_party; [
     gopkgs."golang.org".x.sys.unix
   ];
 }
diff --git a/third_party/gopkgs/gopkg.in/src-d/go-git/default.nix b/third_party/gopkgs/gopkg.in/src-d/go-git/default.nix
index a39b7e82b781..5728ad0a420a 100644
--- a/third_party/gopkgs/gopkg.in/src-d/go-git/default.nix
+++ b/third_party/gopkgs/gopkg.in/src-d/go-git/default.nix
@@ -12,7 +12,7 @@ depot.buildGo.external {
     sha256 = "08jl4ljrzzil7c3qcl2y1859nhpgw9ixxy1g40ff7kmq989yhs6v";
   };
 
-  deps = with depot.third_party; map (p: p.gopkg) [
+  deps = with depot.third_party; [
     gopkgs."github.com".emirpasic.gods.trees.binaryheap
     gopkgs."github.com".jbenet.go-context.io
     gopkgs."github.com".kevinburke.ssh_config