task-master-ai: add missing dependency
when running the following command ```sh task-master init ``` it fails with the following error ```txt Error: spawn node ENOENT ```
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildNpmPackage,
|
||||
fetchFromGitHub,
|
||||
nodejs,
|
||||
nix-update-script,
|
||||
}:
|
||||
buildNpmPackage (finalAttrs: {
|
||||
@@ -19,6 +20,8 @@ buildNpmPackage (finalAttrs: {
|
||||
|
||||
dontNpmBuild = true;
|
||||
|
||||
makeWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ nodejs ]}" ];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user