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

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

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

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

diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index 47d5c3ecdb..9a5739b5de 100644
--- a/gnu/packages/node.scm
+++ b/gnu/packages/node.scm
@@ -377,7 +377,13 @@ (define-public node-ms-bootstrap
        #:tests? #f
        #:phases
        (modify-phases %standard-phases
-         (delete 'configure))))
+         (add-after 'patch-dependencies 'delete-dependencies
+           (lambda args
+             (delete-dependencies '("^eslint$"
+                                    "^expect\\.js$"
+                                    "^husky$"
+                                    "^lint-staged$"
+                                    "^mocha$")))))))
     (home-page "https://github.com/zeit/ms#readme")
     (properties '((hidden? . #t)))
     (synopsis "Tiny millisecond conversion utility")
-- 
2.34.0