aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/node.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-06-13 17:00:15 +0200
committerRicardo Wurmus <rekado@elephly.net>2020-06-13 17:02:26 +0200
commitbb310a1976198eacdc67e0712e19735cd656b21d (patch)
tree09c48bceac63ca509dbd8ef81d93c023a346dfd2 /gnu/packages/node.scm
parent4a04d49c2e8aa52b0e6051c6868c8892d017e61b (diff)
downloadguix-bb310a1976198eacdc67e0712e19735cd656b21d.tar
guix-bb310a1976198eacdc67e0712e19735cd656b21d.tar.gz
gnu: Add libnode.
* gnu/packages/node.scm (libnode): New variable.
Diffstat (limited to 'gnu/packages/node.scm')
-rw-r--r--gnu/packages/node.scm10
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index cc81b1f20b..3610812688 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))))))