GNU bug report logs -
#51838
[PATCH 00/11] guix: node-build-system: Support compiling add-ons with node-gyp.
Previous Next
Reported by: Philip McGrath <philip <at> philipmcgrath.com>
Date: Sun, 14 Nov 2021 12:43:01 UTC
Severity: normal
Tags: patch
Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
gnu/packages/node-xyz.scm (node-irc)[arguments]: Use
'delete-dependencies'. Stop deleting the 'configure' phase.
---
gnu/packages/node-xyz.scm | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index f9c7f7ac2a..feea4ca614 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -413,12 +413,17 @@ (define-public node-irc
"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
+ (with-atomic-json-file-replacement "package.json"
+ (lambda (pkg-meta)
+ (delete-dependencies pkg-meta `("ansi-color"
+ "faucet"
+ "jscs"
+ "tape")))))))
+ #:tests? #f))
(inputs
(list node-irc-colors))
(home-page "https://github.com/martynsmith/node-irc")
--
2.32.0
This bug report was last modified 3 years and 197 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.