diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2019-05-28 23:56:59 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2019-05-28 23:56:59 +0200 |
commit | 531940d388b08318edbf243e3e5008288b1eb60e (patch) | |
tree | 60a4bea7ef00ed050b1f19d71be993df8066acd1 /guix/import/cran.scm | |
parent | e4519ee73dfc08e72977d0788807d6150bff66c6 (diff) | |
download | gnu-guix-531940d388b08318edbf243e3e5008288b1eb60e.tar gnu-guix-531940d388b08318edbf243e3e5008288b1eb60e.tar.gz |
import: cran: Ignore invalid packages from the system requirements.
* guix/import/cran.scm (description->package): Filter invalid packages from
the list of system requirements.
Diffstat (limited to 'guix/import/cran.scm')
-rw-r--r-- | guix/import/cran.scm | 4 |
1 files changed, 3 insertions, 1 deletions
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)))) |