diff --git a/dag/extdeps/exec/command.dag b/dag/extdeps/exec/command.dag index 8f11ceae14d..f539ed2373d 100644 --- a/dag/extdeps/exec/command.dag +++ b/dag/extdeps/exec/command.dag @@ -121,6 +121,7 @@ fn argv_command(program: ProgramIdentity, arguments: List) -> ArgvComman decl_ref(module_path: "extdeps.tools.ldd", decl_name: "ldd_command"), decl_ref(module_path: "extdeps.tools.dpkg_deb", decl_name: "dpkg_deb_extract_command"), decl_ref(module_path: "extdeps.tools.node", decl_name: "node_eval_command"), + decl_ref(module_path: "extdeps.tools.node", decl_name: "node_run_file_command"), decl_ref(module_path: "extdeps.tools.node", decl_name: "node_version_command"), decl_ref(module_path: "extdeps.browser.chromium", decl_name: "chromium_version_command"), decl_ref(module_path: "extdeps.tools.squashfs_tools", decl_name: "unsquashfs_extract_command"), diff --git a/dag/extdeps/exec/program.dag b/dag/extdeps/exec/program.dag index d7384a029d0..57c6bae470d 100644 --- a/dag/extdeps/exec/program.dag +++ b/dag/extdeps/exec/program.dag @@ -67,6 +67,7 @@ fn cataloged_program(invocation: NonEmptyStr) -> ProgramIdentity decl_ref(module_path: "extdeps.tools.busybox", decl_name: "busybox_dd_sparse_image_command"), decl_ref(module_path: "extdeps.tools.unzip", decl_name: "unzip_program"), decl_ref(module_path: "extdeps.tools.node", decl_name: "node_version_command"), + decl_ref(module_path: "extdeps.tools.node", decl_name: "node_run_file_command"), decl_ref(module_path: "extdeps.tools.node", decl_name: "node_eval_command"), decl_ref(module_path: "extdeps.tools.xorriso", decl_name: "xorriso_program"), decl_ref(module_path: "extdeps.nftables.ruleset", decl_name: "nft_program"), diff --git a/dag/extdeps/tools/node.dag b/dag/extdeps/tools/node.dag index d6772b9402a..c688a65814b 100644 --- a/dag/extdeps/tools/node.dag +++ b/dag/extdeps/tools/node.dag @@ -114,3 +114,8 @@ fn node_version_command(node_binary: NonEmptyStr) -> ArgvCommand { fn node_eval_command(node_binary: NonEmptyStr, script: String, operands: List) -> ArgvCommand { argv_command(program: cataloged_program(invocation: node_binary), arguments: concat(["-e", script], operands)) } + +// `node