gnu: Add libnode.

* gnu/packages/node.scm (libnode): New variable.
This commit is contained in:
Ricardo Wurmus 2020-06-13 17:00:15 +02:00
parent 4a04d49c2e
commit bb310a1976
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -27,6 +27,7 @@ (define-module (gnu packages node)
#: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 @@ (define-public node
(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))))))