Build checked asynchronous service registries with Nix
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
typescript ? core.dependencies,
|
||||
packageRevisionId,
|
||||
portable ? null,
|
||||
remote ? null,
|
||||
service ? { },
|
||||
nodeModules ? null,
|
||||
}:
|
||||
@@ -40,6 +41,15 @@ let
|
||||
"server"
|
||||
];
|
||||
};
|
||||
remote =
|
||||
if remote == null then
|
||||
null
|
||||
else
|
||||
{
|
||||
inherit (remote) entry;
|
||||
registryExport = remote.registryExport or "registry";
|
||||
bindingOutput = remote.bindingOutput or "src/gen/remote.ts";
|
||||
};
|
||||
node = "${pkgs.nodejs_24}/bin/node";
|
||||
tsc = "${typescript}/node_modules/typescript/bin/tsc";
|
||||
esbuild = "${pkgs.esbuild}/bin/esbuild";
|
||||
|
||||
Reference in New Issue
Block a user