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

From: Liliana Marie Prikler <[email-masked]>
Date: Thu, 30 Dec 2021 02:38:50 -0500

gnu/packages/node.scm (node-llparse-bootstrap)[arguments]: Use
'delete-dependencies'.  Stop deleting the 'configure' phase.

Signed-off-by: Liliana Marie Prikler <[email-masked]>
---
 gnu/packages/node.scm | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index 398982a7b0..49e6323a9d 100644
--- a/gnu/packages/node.scm
+++ b/gnu/packages/node.scm
@@ -623,7 +623,17 @@ (define-public node-llparse-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$"
+                                    "^esm$"
+                                    "^llparse-test-fixture$"
+                                    "^mocha$"
+                                    "^ts-node$"
+                                    "^tslint$"
+                                    "^typescript$"))))
          (replace 'build
            (lambda* (#:key inputs #:allow-other-keys)
              (let ((esbuild (search-input-file inputs "/bin/esbuild")))
-- 
2.34.0