guix-commits
[Top][All Lists]
Advanced

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

01/03: gnu: Add libnode.


From: guix-commits
Subject: 01/03: gnu: Add libnode.
Date: Sat, 13 Jun 2020 11:02:49 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit bb310a1976198eacdc67e0712e19735cd656b21d
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sat Jun 13 17:00:15 2020 +0200

    gnu: Add libnode.
    
    * gnu/packages/node.scm (libnode): New variable.
---
 gnu/packages/node.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index cc81b1f..3610812 100644
--- a/gnu/packages/node.scm
+++ b/gnu/packages/node.scm
@@ -27,6 +27,7 @@
   #:use-module (guix packages)
   #:use-module (guix derivations)
   #:use-module (guix download)
+  #:use-module (guix utils)
   #:use-module (guix build-system gnu)
   #:use-module (gnu packages)
   #:use-module (gnu packages adns)
@@ -198,3 +199,12 @@ devices.")
     (license expat)
     (properties '((max-silent-time . 7200)     ;2h, needed on ARM
                   (timeout . 21600)))))        ;6h
+
+(define-public libnode
+  (package
+    (inherit node)
+    (name "libnode")
+    (arguments
+     (substitute-keyword-arguments (package-arguments node)
+       ((#:configure-flags flags ''())
+        `(cons* "--shared" "--without-npm" ,flags))))))



reply via email to

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