[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51838] [PATCH v4 20/45] guix: node-build-system: Add implicit libuv
From: |
Philip McGrath |
Subject: |
[bug#51838] [PATCH v4 20/45] guix: node-build-system: Add implicit libuv input. |
Date: |
Mon, 13 Dec 2021 01:00:42 -0500 |
* guix/build-system/node.scm (lower): Add the version of libuv
used as an input to the #:node package as an additional implicit
input, so that packages needing libuv always get the correct version.
---
guix/build-system/node.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/guix/build-system/node.scm b/guix/build-system/node.scm
index 4f437f9c0d..179da65ee8 100644
--- a/guix/build-system/node.scm
+++ b/guix/build-system/node.scm
@@ -1,6 +1,8 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016 Jelle Licht <jlicht@fsfe.org>
;;; Copyright © 2019 Timothy Sample <samplet@ngyro.com>
+;;; Copyright © 2021 Pierre Langlois <pierre.langlois@gmx.com>
+;;; Copyright © 2021 Philip McGrath <philip@philipmcgrath.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -59,10 +61,15 @@ (define private-keywords
`(("source" ,source))
'())
,@inputs
-
;; Keep the standard inputs of 'gnu-build-system'.
,@(standard-packages)))
(build-inputs `(("node" ,node)
+ ;; Many packages with native addons need
+ ;; libuv headers. The libuv version must
+ ;; be exactly the same as for the node
+ ;; package we are adding implicitly,
+ ;; so we take care of adding libuv, too.
+ ("libuv" ,@(assoc-ref (package-inputs node) "libuv"))
,@native-inputs))
(outputs outputs)
(build node-build)
--
2.32.0
- [bug#51838] [PATCH v4 08/45] gnu: node-semver-bootstrap: Use #:absent-dependencies., (continued)
- [bug#51838] [PATCH v4 08/45] gnu: node-semver-bootstrap: Use #:absent-dependencies., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 10/45] gnu: node-binary-search-bootstrap: Use #:absent-dependencies., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 11/45] gnu: node-debug-bootstrap: Use #:absent-dependencies., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 09/45] gnu: node-ms-bootstrap: Use #:absent-dependencies., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 12/45] gnu: node-llparse-builder-bootstrap: Use #:absent-dependencies., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 13/45] gnu: node-llparse-frontend-bootstrap: Use #:absent-dependencies., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 14/45] gnu: node-llparse-bootstrap: Use #:absent-dependencies., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 15/45] gnu: node-semver: Use #:absent-dependencies., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 16/45] gnu: node-wrappy: Use #:absent-dependencies., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 19/45] gnu: node-irc: Use #:absent-dependencies., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 20/45] guix: node-build-system: Add implicit libuv input.,
Philip McGrath <=
- [bug#51838] [PATCH v4 17/45] gnu: node-once: Use #:absent-dependencies., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 18/45] gnu: node-irc-colors: Use #:absent-dependencies., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 21/45] guix: node-build-system: Add avoid-node-gyp-rebuild phase., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 28/45] gnu: Add node-addon-api., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 22/45] gnu: Add node-inherits., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 30/45] gnu: Add node-file-uri-to-path., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 31/45] gnu: Add node-bindings., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 37/45] gnu: Add node-serialport-parser-readling., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 25/45] gnu: Add node-readable-stream., Philip McGrath, 2021/12/13
- [bug#51838] [PATCH v4 27/45] gnu: Add node-openzwave-shared., Philip McGrath, 2021/12/13