From b72d23207552a79bcb8623b85415fa4ededd3ecc Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 19 Jun 2020 15:20:39 +0100 Subject: fix(buildTypedGo): Pass correct arguments to .package Change-Id: I535e084e7b3195628609bb43e382e450bc0003ba Reviewed-on: https://cl.tvl.fyi/c/depot/+/497 Reviewed-by: eta Reviewed-by: lukegb --- nix/buildTypedGo/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nix/buildTypedGo/default.nix b/nix/buildTypedGo/default.nix index 1c443484920f..88eb8688ce2a 100644 --- a/nix/buildTypedGo/default.nix +++ b/nix/buildTypedGo/default.nix @@ -26,8 +26,8 @@ in rec { srcs = map go2go srcs; }; - package = { name, srcs, deps ? [], x_defs ? {}, sfiles ? [] }: depot.nix.buildGo.package { - inherit name deps x_defs sfiles; + package = { name, srcs, deps ? [], path ? name, sfiles ? [] }: depot.nix.buildGo.package { + inherit name deps path sfiles; srcs = map go2go srcs; }; } -- cgit 1.4.1