summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilip McGrath <philip@philipmcgrath.com>2022-01-08 03:42:05 -0500
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2022-01-09 02:07:14 +0100
commit534f9e495f7a378c3854036e0213cf2391d507cf (patch)
treebef756005fd783fae107f28f53698267c8accd96
parentb542d09ed3a6f5570abfd32eddfb6d4dcb7d3f45 (diff)
downloadguix-534f9e495f7a378c3854036e0213cf2391d507cf.tar.gz
gnu: node-irc: Use 'delete-dependencies'.
gnu/packages/node-xyz.scm (node-irc)[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-xyz.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 4da4166465..80495cacf4 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -404,12 +404,13 @@ such as rainbows.")
                 "1ln4qfx20jbwg4cp8lp0vf27m5281z2sz16d15xd6150n26cbi4x"))))
     (build-system node-build-system)
     (arguments
-     '(#:tests? #f                      ; FIXME: tests depend on node-faucet
-       #:phases
+     '(#:phases
        (modify-phases %standard-phases
-         ;; The default configure phase fails due to various packages
-         ;; being missing, as we don't have them packaged yet.
-         (delete 'configure))))
+         (add-after 'patch-dependencies 'delete-dependencies
+           (lambda args
+             (delete-dependencies
+              `("ansi-color" "faucet" "jscs" "tape")))))
+       #:tests? #f))
     (inputs
      (list node-irc-colors))
     (home-page "https://github.com/martynsmith/node-irc")