gnu: libnode: Use node-lts as base.

* gnu/packages/node.scm (libnode): Use node-lts as base.
* gnu/packages/cran.scm (r-v8)[arguments]<#:phases>: Adjusted accordingly.

Signed-off-by: Jelle Licht <jlicht@fsfe.org>
This commit is contained in:
Hilton Chain 2023-02-08 22:05:31 +01:00 committed by Jelle Licht
parent ac2399c6ec
commit 6552b2ba7f
No known key found for this signature in database
GPG key ID: DA4597F947B41025
2 changed files with 3 additions and 3 deletions

View file

@ -1190,7 +1190,7 @@ (define-public r-v8
(("^PKG_LIBS=.*") (("^PKG_LIBS=.*")
(string-append "PKG_LIBS=" (string-append "PKG_LIBS="
(assoc-ref inputs "libnode") (assoc-ref inputs "libnode")
"/lib/libnode.so.64\n"))) "/lib/libnode.so.108\n")))
(setenv "INCLUDE_DIR" (setenv "INCLUDE_DIR"
(string-append (string-append
(assoc-ref inputs "libnode") (assoc-ref inputs "libnode")

View file

@ -906,10 +906,10 @@ (define-public node-lts
zlib)))) zlib))))
(define-public libnode (define-public libnode
(package/inherit node (package/inherit node-lts
(name "libnode") (name "libnode")
(arguments (arguments
(substitute-keyword-arguments (package-arguments node) (substitute-keyword-arguments (package-arguments node-lts)
((#:configure-flags flags ''()) ((#:configure-flags flags ''())
`(cons* "--shared" "--without-npm" ,flags)) `(cons* "--shared" "--without-npm" ,flags))
((#:phases phases '%standard-phases) ((#:phases phases '%standard-phases)