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 <mail@tazj.in>
Tested-by: BuildkiteCI
This commit is contained in:
edef 2020-08-03 19:28:16 +00:00
parent 596e1f7f77
commit 94387dbc25
13 changed files with 15 additions and 15 deletions

View file

@ -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
];

View file

@ -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
];
}

View file

@ -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
];
}

View file

@ -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
];
}