[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51838] [PATCH v6 16/41] gnu: node-irc-colors: Use 'delete-dependenc
From: |
Philip McGrath |
Subject: |
[bug#51838] [PATCH v6 16/41] gnu: node-irc-colors: Use 'delete-dependencies'. |
Date: |
Thu, 30 Dec 2021 02:38:54 -0500 |
gnu/packages/node-xyz.scm (node-irc-colors)[arguments]: Use
'delete-dependencies'. Stop deleting the 'configure' phase.
---
gnu/packages/node-xyz.scm | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index ef251c07bf..f9c7f7ac2a 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -381,12 +381,15 @@ (define-public node-irc-colors
"0q3y34rbnlc55jcakmdxkicwazyvyph9r6gaf6hi8k7wj2nfwfli"))))
(build-system node-build-system)
(arguments
- '(#:tests? #f ; FIXME: tests depend on node-istanbul
- #: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 `("istanbul"
+ "vows")))))))
+ #:tests? #f))
(home-page "https://github.com/fent/irc-colors.js")
(synopsis "Node.js module providing color and formatting for IRC")
(description "@code{node-irc-colors} is a Node.js module that
--
2.32.0
- [bug#51838] [PATCH v6 05/41] guix: node-build-system: Add 'delete-dependencies' helper function., (continued)
- [bug#51838] [PATCH v6 05/41] guix: node-build-system: Add 'delete-dependencies' helper function., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 07/41] gnu: node-ms-bootstrap: Use 'delete-dependencies'., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 09/41] gnu: node-debug-bootstrap: Use 'delete-dependencies'., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 08/41] gnu: node-binary-search-bootstrap: Use 'delete-dependencies'., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 11/41] gnu: node-llparse-frontend-bootstrap: Use 'delete-dependencies'., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 13/41] gnu: node-semver: Use 'delete-dependencies'., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 10/41] gnu: node-llparse-builder-bootstrap: Use 'delete-dependencies'., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 12/41] gnu: node-llparse-bootstrap: Use 'delete-dependencies'., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 14/41] gnu: node-wrappy: Use 'delete-dependencies'., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 15/41] gnu: node-once: Use 'delete-dependencies'., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 16/41] gnu: node-irc-colors: Use 'delete-dependencies'.,
Philip McGrath <=
- [bug#51838] [PATCH v6 17/41] gnu: node-irc: Use 'delete-dependencies'., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 18/41] gnu: Add node-inherits., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 19/41] gnu: Add node-safe-buffer., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 21/41] gnu: Add node-readable-stream., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 20/41] gnu: Add node-string-decoder., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 24/41] gnu: Add node-addon-api., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 23/41] gnu: Add node-openzwave-shared., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 25/41] gnu: Add node-sqlite3., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 26/41] gnu: Add node-file-uri-to-path., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 22/41] gnu: Add node-nan., Philip McGrath, 2021/12/30