From bb310a1976198eacdc67e0712e19735cd656b21d Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 13 Jun 2020 17:00:15 +0200 Subject: 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 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)))))) -- cgit 1.4.1