mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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
1 changed files with 3 additions and 1 deletions
|
@ -313,7 +313,9 @@ (define (description->package repository meta)
|
|||
(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))))
|
||||
|
|
Loading…
Reference in a new issue