Commit 171bf759 authored by pinage404's avatar pinage404
Browse files

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
```
parent 47a06459
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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; {