guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: node: Use unbundled dependencies.


From: Marius Bakke
Subject: 02/02: gnu: node: Use unbundled dependencies.
Date: Tue, 23 May 2017 12:30:58 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit ea584538ac8dc3ad7877b82a67fc3619f105ad70
Author: Jelle Licht <address@hidden>
Date:   Mon May 22 20:03:21 2017 +0200

    gnu: node: Use unbundled dependencies.
    
    * gnu/packages/node.scm (node)[inputs]: Add c-ares and http-parser.
    [arguments]: Add configure flags for using system libraries.
    
    Signed-off-by: Marius Bakke <address@hidden>
---
 gnu/packages/node.scm | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index 40c2b04..69bd928 100644
--- a/gnu/packages/node.scm
+++ b/gnu/packages/node.scm
@@ -26,6 +26,7 @@
   #:use-module (guix download)
   #:use-module (guix build-system gnu)
   #:use-module (gnu packages)
+  #:use-module (gnu packages adns)
   #:use-module (gnu packages base)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages gcc)
@@ -33,7 +34,8 @@
   #:use-module (gnu packages linux)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages python)
-  #:use-module (gnu packages tls))
+  #:use-module (gnu packages tls)
+  #:use-module (gnu packages web))
 
 (define-public node
   (package
@@ -50,10 +52,12 @@
               (patches (search-patches "node-9077.patch"))))
     (build-system gnu-build-system)
     (arguments
-     ;; TODO: Package http_parser and add --shared-http-parser.
+     ;; TODO: Purge the bundled copies from the source.
      '(#:configure-flags '("--shared-openssl"
                            "--shared-zlib"
                            "--shared-libuv"
+                           "--shared-cares"
+                           "--shared-http-parser"
                            "--without-snapshot")
        #:phases
        (modify-phases %standard-phases
@@ -123,7 +127,9 @@
        ("util-linux" ,util-linux)
        ("which" ,which)))
     (inputs
-     `(("libuv" ,libuv)
+     `(("c-ares" ,c-ares)
+       ("http-parser" ,http-parser)
+       ("libuv" ,libuv)
        ("openssl" ,openssl)
        ("zlib" ,zlib)))
     (synopsis "Evented I/O for V8 JavaScript")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]