Subject: [bug#51838] [PATCH v9 11/41] gnu: node-llparse-frontend-bootstrap: Use 'delete-dependencies'.

From: Philip McGrath <[email-masked]>
Date: Sat, 8 Jan 2022 03:41:59 -0500

gnu/packages/node.scm (node-llparse-frontend-bootstrap)[arguments]:  Use
'delete-dependencies'.  Stop deleting the 'configure' phase.
---
 gnu/packages/node.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index cff2b39dd6..55bca7c006 100644
--- a/gnu/packages/node.scm
+++ b/gnu/packages/node.scm
@@ -567,7 +567,15 @@ (define-public node-llparse-frontend-bootstrap
        #:tests? #f
        #:phases
        (modify-phases %standard-phases
-         (delete 'configure)
+         (add-after 'patch-dependencies 'delete-dependencies
+           (lambda args
+             (delete-dependencies `("@types/debug"
+                                    "@types/mocha"
+                                    "@types/node"
+                                    "mocha"
+                                    "ts-node"
+                                    "tslint"
+                                    "typescript"))))
          (replace 'build
            (lambda* (#:key inputs #:allow-other-keys)
              (let ((esbuild (search-input-file inputs "/bin/esbuild")))
-- 
2.32.0