Subject: [PATCH v9 14/41] gnu: node-wrappy: Use 'delete-dependencies'.

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

gnu/packages/node-xyz.scm (node-wrappy)[arguments]: Use
'delete-dependencies'.  Stop deleting the 'configure' phase.
---
 gnu/packages/node-xyz.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index e99cd27a14..e1ffdf978c 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -320,8 +320,9 @@ (define-public node-wrappy
      '(#:tests? #f ; FIXME: Tests depend on node-tap
        #:phases
        (modify-phases %standard-phases
-         ;; The only dependency to check for is tap, which we don't have.
-         (delete 'configure))))
+         (add-after 'patch-dependencies 'delete-dependencies
+           (lambda args
+             (delete-dependencies '("tap")))))))
     (home-page "https://github.com/npm/wrappy")
     (synopsis "Callback wrapping utility")
     (description "@code{wrappy} is a utility for Node.js to wrap callbacks.")
-- 
2.32.0