import: cran: Abort if no description could be fetched.
* guix/import/cran.scm (cran->guix-package): Only proceed if a valid description could be fetched.
This commit is contained in:
parent
632ea817b8
commit
7bb6420c5a
@ -358,7 +358,8 @@ s-expression corresponding to that package, or #f on failure."
|
||||
(eq? repo 'bioconductor))
|
||||
;; Retry import from CRAN
|
||||
(cran->guix-package package-name 'cran)
|
||||
(description->package repo description))))))
|
||||
(and description
|
||||
(description->package repo description)))))))
|
||||
|
||||
(define* (cran-recursive-import package-name #:optional (repo 'gnu))
|
||||
(recursive-import package-name repo
|
||||
|
Loading…
Reference in New Issue
Block a user