guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

14/42: gnu: node-wrappy: Use 'delete-dependencies'.


From: guix-commits
Subject: 14/42: gnu: node-wrappy: Use 'delete-dependencies'.
Date: Sat, 8 Jan 2022 20:09:21 -0500 (EST)

lilyp pushed a commit to branch master
in repository guix.

commit 8c83a9c7ea321654e6a9d48b7087243e898569ba
Author: Philip McGrath <philip@philipmcgrath.com>
AuthorDate: Sat Jan 8 03:42:02 2022 -0500

    gnu: node-wrappy: Use 'delete-dependencies'.
    
    gnu/packages/node-xyz.scm (node-wrappy)[arguments]: Use
    'delete-dependencies'.  Stop deleting the 'configure' phase.
    
    Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
---
 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 @@ function with browser support.")
      '(#: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.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]