summary refs log tree commit diff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-01-05 21:36:29 +0100
committerRicardo Wurmus <rekado@elephly.net>2022-01-05 21:36:29 +0100
commit62dc81a958e44f85a7b8de699894fa863cbbb9a0 (patch)
treee1cc89c59a3c9036afb387658f7aa23798c8206f /gnu/packages/cran.scm
parent36d2a03edcfc9fdbb3b9e4cbc9729ea5db4b7133 (diff)
downloadguix-62dc81a958e44f85a7b8de699894fa863cbbb9a0.tar.gz
gnu: r-v8: Use new input style.
* gnu/packages/cran.scm (r-v8)[arguments]: Use standard name as label.
[inputs]: Use new style.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm10
1 files changed, 4 insertions, 6 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index a65fbabc58..a510598903 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -484,19 +484,17 @@ degree elevation and curve fitting.")
              (substitute* "configure"
                (("^PKG_LIBS=.*")
                 (string-append "PKG_LIBS="
-                               (assoc-ref inputs "node")
+                               (assoc-ref inputs "libnode")
                                "/lib/libnode.so.64\n")))
              (setenv "INCLUDE_DIR"
                      (string-append
-                      (assoc-ref inputs "node")
+                      (assoc-ref inputs "libnode")
                       "/include/node"))
              (setenv "LIB_DIR"
                      (string-append
-                      (assoc-ref inputs "node") "/lib"))
-             #t)))))
+                      (assoc-ref inputs "libnode") "/lib")))))))
     (inputs
-     `(("node" ,libnode)
-       ("zlib" ,zlib)))
+     (list libnode zlib))
     (propagated-inputs
      (list r-curl r-jsonlite r-rcpp))
     (native-inputs