From 531940d388b08318edbf243e3e5008288b1eb60e Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 28 May 2019 23:56:59 +0200 Subject: import: cran: Ignore invalid packages from the system requirements. * guix/import/cran.scm (description->package): Filter invalid packages from the list of system requirements. --- guix/import/cran.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/guix/import/cran.scm b/guix/import/cran.scm index 4763fccd36..3240094444 100644 --- a/guix/import/cran.scm +++ b/guix/import/cran.scm @@ -313,7 +313,9 @@ from the alist META, which was derived from the R package's DESCRIPTION file." (tarball (download source-url)) (sysdepends (append (if (needs-zlib? tarball) '("zlib") '()) - (map string-downcase (listify meta "SystemRequirements")))) + (filter (lambda (name) + (not (member name invalid-packages))) + (map string-downcase (listify meta "SystemRequirements"))))) (propagate (filter (lambda (name) (not (member name (append default-r-packages invalid-packages)))) -- cgit v1.2.3