aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-11-28 12:03:04 +0100
committerRicardo Wurmus <rekado@elephly.net>2024-12-03 16:59:56 +0100
commitddb2a9572ee07740a71bb47ab062d05692bf330b (patch)
treea9379feb7057701d5d689d6af166ac9eeec00500
parentf0a93b18b4488c3bb802197aba4a31b28508c902 (diff)
downloadguix-ddb2a9572ee07740a71bb47ab062d05692bf330b.tar.gz
guix-ddb2a9572ee07740a71bb47ab062d05692bf330b.zip
import/cran: Recurse for all R packages.
* guix/import/cran.scm (description->package): Return all R packages, not just all propagated inputs. Change-Id: Id1c6ded681e25e29dcef8f8aed1a6be47b36c4a0
-rw-r--r--guix/import/cran.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/import/cran.scm b/guix/import/cran.scm
index 55e388be77..8df867b6d0 100644
--- a/guix/import/cran.scm
+++ b/guix/import/cran.scm
@@ -941,7 +941,8 @@ from the alist META, which was derived from the R package's DESCRIPTION file."
,package))
(else package))
(filter-map (lambda (input)
- (and (eq? 'propagated (upstream-input-type input))
+ (and (string-prefix? "r-"
+ (upstream-input-downstream-name input))
(upstream-input-name input)))
inputs))))