guix-commits
[Top][All Lists]
Advanced

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

08/42: gnu: node-binary-search-bootstrap: Use 'delete-dependencies'.


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

lilyp pushed a commit to branch master
in repository guix.

commit fcec0195609d961e1f2093e9d0f9e9658f3d4a0d
Author: Philip McGrath <philip@philipmcgrath.com>
AuthorDate: Sat Jan 8 03:41:56 2022 -0500

    gnu: node-binary-search-bootstrap: Use 'delete-dependencies'.
    
    gnu/packages/node.scm (node-binary-search-bootstrap)[arguments]: Use
    'delete-dependencies'.  Stop deleting the 'configure' phase.
    
    Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
---
 gnu/packages/node.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index 495ae95dc3..2594b6d518 100644
--- a/gnu/packages/node.scm
+++ b/gnu/packages/node.scm
@@ -411,7 +411,9 @@ formats to milliseconds.")
        #:tests? #f
        #:phases
        (modify-phases %standard-phases
-         (delete 'configure))))
+         (add-after 'patch-dependencies 'delete-dependencies
+           (lambda args
+             (delete-dependencies `("chai" "mocha")))))))
     (home-page "https://github.com/darkskyapp/binary-search#readme";)
     (properties '((hidden? . #t)))
     (synopsis "Tiny binary search function with comparators")



reply via email to

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