summary refs log tree commit diff
path: root/gnu/packages/node.scm
diff options
context:
space:
mode:
authorPhilip McGrath <philip@philipmcgrath.com>2022-01-08 03:41:56 -0500
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2022-01-09 02:07:12 +0100
commitfcec0195609d961e1f2093e9d0f9e9658f3d4a0d (patch)
treea8fb03d5757bdedc1d7c897df5e79e44b79caeb0 /gnu/packages/node.scm
parent11f842fafe5364e018b5b6996790e789ea62c016 (diff)
downloadguix-fcec0195609d961e1f2093e9d0f9e9658f3d4a0d.tar.gz
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>
Diffstat (limited to 'gnu/packages/node.scm')
-rw-r--r--gnu/packages/node.scm4
1 files changed, 3 insertions, 1 deletions
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")