guix-commits
[Top][All Lists]
Advanced

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

15/42: gnu: node-once: Use 'delete-dependencies'.


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

lilyp pushed a commit to branch master
in repository guix.

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

    gnu: node-once: Use 'delete-dependencies'.
    
    gnu/packages/node-xyz.scm (node-once)[arguments]: Use
    'delete-dependencies'.  Stop deleting the 'configure' phase.
    
    Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
---
 gnu/packages/node-xyz.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index e1ffdf978c..607877d677 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -343,13 +343,13 @@ function with browser support.")
                 "1z8dcbf28dqdcp4wb0c53wrs90a07nkrax2c9kk26dsk1dhrnxav"))))
     (build-system node-build-system)
     (arguments
-     '(#:tests? #f                      ; FIXME: tests depend on node-tap
-       #:phases
+     '(#:phases
        (modify-phases %standard-phases
-         ;; The default configure phase fails due to tap being missing, as we 
do
-         ;; not have tap packaged yet.  It is used only for tests.  This 
package
-         ;; still works as a dependency of node-glob and node-inflight.
-         (delete 'configure))))
+         (add-after 'patch-dependencies 'delete-dependencies
+           (lambda args
+             (delete-dependencies '("tap")))))
+       ;; FIXME: Tests depend on node-tap
+       #:tests? #f))
     (inputs
      (list node-wrappy))
     (home-page "https://github.com/isaacs/once";)



reply via email to

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