task-master-ai: fix build on linux (#440171)
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
fetchFromGitHub,
|
||||
nodejs,
|
||||
nix-update-script,
|
||||
versionCheckHook,
|
||||
}:
|
||||
buildNpmPackage (finalAttrs: {
|
||||
pname = "task-master-ai";
|
||||
@@ -20,6 +21,8 @@ buildNpmPackage (finalAttrs: {
|
||||
|
||||
dontNpmBuild = true;
|
||||
|
||||
npmFlags = [ "--ignore-scripts" ];
|
||||
|
||||
makeWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ nodejs ]}" ];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
@@ -34,6 +37,11 @@ buildNpmPackage (finalAttrs: {
|
||||
PUPPETEER_SKIP_DOWNLOAD = 1;
|
||||
};
|
||||
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
doInstallCheck = true;
|
||||
versionCheckProgram = "${placeholder "out"}/bin/task-master";
|
||||
versionCheckProgramArg = "--version";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Node.js agentic AI workflow orchestrator";
|
||||
homepage = "https://task-master.dev";
|
||||
|
||||
Reference in New Issue
Block a user