feat(nix/buildGo): use gopkg attribute of deps
This removes the need for `map (x: x.gopkg)` in dependency lists. Change-Id: Ia19e51f14110bf22f5cdbb64fa7ce182e1b34241 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1624 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
This commit is contained in:
parent
c3546c5f9c
commit
596e1f7f77
2 changed files with 3 additions and 3 deletions
2
nix/buildGo/external/default.nix
vendored
2
nix/buildGo/external/default.nix
vendored
|
|
@ -83,7 +83,7 @@ in { src, path, deps ? [] }: let
|
|||
depMap = listToAttrs (map (d: {
|
||||
name = d.goImportPath;
|
||||
value = d;
|
||||
}) deps);
|
||||
}) (map (d: d.gopkg) deps));
|
||||
|
||||
name = pathToName path;
|
||||
analysisOutput = runCommand "${name}-structure.json" {} ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue