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 8cc0ed4536
commit 40d6615ca2
No known key found for this signature in database
GPG key ID: DA4597F947B41025
2 changed files with 3 additions and 3 deletions

View file

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

View file

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