summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilip McGrath <philip@philipmcgrath.com>2022-01-08 03:41:55 -0500
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2022-01-09 02:07:12 +0100
commit11f842fafe5364e018b5b6996790e789ea62c016 (patch)
tree445bf32e88efdbfc8fdcef2e6d264c37cb5b6e32
parentef511a3b489c0527105948da503dc8e94a5c48eb (diff)
downloadguix-11f842fafe5364e018b5b6996790e789ea62c016.tar.gz
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>
-rw-r--r--gnu/packages/node.scm8
1 files changed, 7 insertions, 1 deletions
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")