import: cran: Ignore invalid packages from the system requirements.
* guix/import/cran.scm (description->package): Filter invalid packages from the list of system requirements.
This commit is contained in:
parent
e4519ee73d
commit
531940d388
|
@ -313,7 +313,9 @@ from the alist META, which was derived from the R package's DESCRIPTION file."
|
||||||
(tarball (download source-url))
|
(tarball (download source-url))
|
||||||
(sysdepends (append
|
(sysdepends (append
|
||||||
(if (needs-zlib? tarball) '("zlib") '())
|
(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)
|
(propagate (filter (lambda (name)
|
||||||
(not (member name (append default-r-packages
|
(not (member name (append default-r-packages
|
||||||
invalid-packages))))
|
invalid-packages))))
|
||||||
|
|
Loading…
Reference in New Issue