guix-commits
[Top][All Lists]
Advanced

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

13/42: gnu: node-semver: Use 'delete-dependencies'.


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

lilyp pushed a commit to branch master
in repository guix.

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

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

diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 9a0be96852..e99cd27a14 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -288,11 +288,13 @@ function with browser support.")
                 "06biknqb05r9xsmcflm3ygh50pjvdk84x6r79w43kmck4fn3qn5p"))))
     (build-system node-build-system)
     (arguments
-     '(#:tests? #f ; FIXME: Tests depend on node-tap
-       #:phases
+     '(#: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")))))
+       ;; FIXME: Tests depend on node-tap
+       #:tests? #f))
     (home-page "https://github.com/npm/node-semver";)
     (synopsis "Parses semantic versions strings")
     (description



reply via email to

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