guix-commits
[Top][All Lists]
Advanced

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

07/42: gnu: node-ms-bootstrap: Use 'delete-dependencies'.


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

lilyp pushed a commit to branch master
in repository guix.

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

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

diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index fb21054fe7..495ae95dc3 100644
--- a/gnu/packages/node.scm
+++ b/gnu/packages/node.scm
@@ -377,7 +377,13 @@ devices.")
        #:tests? #f
        #:phases
        (modify-phases %standard-phases
-         (delete 'configure))))
+         (add-after 'patch-dependencies 'delete-dependencies
+           (lambda args
+             (delete-dependencies '("eslint"
+                                    "expect.js"
+                                    "husky"
+                                    "lint-staged"
+                                    "mocha")))))))
     (home-page "https://github.com/zeit/ms#readme";)
     (properties '((hidden? . #t)))
     (synopsis "Tiny millisecond conversion utility")



reply via email to

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