fix(buildTypedGo): Pass correct arguments to .package

Change-Id: I535e084e7b3195628609bb43e382e450bc0003ba
Reviewed-on: https://cl.tvl.fyi/c/depot/+/497
Reviewed-by: eta <eta@theta.eu.org>
Reviewed-by: lukegb <lukegb@tvl.fyi>
This commit is contained in:
Vincent Ambo 2020-06-19 15:20:39 +01:00 committed by tazjin
parent ef5dfb4822
commit b72d232075

View file

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