diff options
author | edef <edef@edef.eu> | 2020-08-03T19·28+0000 |
---|---|---|
committer | edef <edef@edef.eu> | 2020-08-04T07·43+0000 |
commit | 94387dbc25e350b56f3ba1c63145ff2ed4c3f43b (patch) | |
tree | cb7cb9b82a43e7c19fc648a770e92cb87329a96d /nix | |
parent | 596e1f7f77e399d1ba32cd00747aa3f94f718a0d (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 'nix')
-rw-r--r-- | nix/buildGo/proto.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nix/buildGo/proto.nix b/nix/buildGo/proto.nix index 2ece948ebd84..57e9a5ec98b0 100644 --- a/nix/buildGo/proto.nix +++ b/nix/buildGo/proto.nix @@ -25,7 +25,7 @@ in rec { rev = "ffdde105785063a81acd95bdf89ea53f6e0aac2d"; }; - deps = map (p: p.gopkg) [ + deps = [ xtext.secure.bidirule xtext.unicode.bidi xtext.unicode.norm @@ -55,7 +55,7 @@ in rec { rev = "83cc0476cb11ea0da33dacd4c6354ab192de6fe6"; }; - deps = with goProto; map (p: p.gopkg) [ + deps = with goProto; [ proto ptypes.any ]; @@ -63,7 +63,7 @@ in rec { goGrpc = external { path = "google.golang.org/grpc"; - deps = map (p: p.gopkg) ([ + deps = ([ xnet.trace xnet.http2 xsys.unix |