about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-06-19T14·20+0100
committertazjin <mail@tazj.in>2020-06-19T15·25+0000
commitb72d23207552a79bcb8623b85415fa4ededd3ecc (patch)
tree5cc5179525d04ed54e46e78f64a85ccec7ddd945
parentef5dfb482244d08298d130db99e645a1fc9523f7 (diff)
fix(buildTypedGo): Pass correct arguments to .package r/1038
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>
-rw-r--r--nix/buildTypedGo/default.nix4
1 files 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;
   };
 }