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.master
parent
632ea817b8
commit
7bb6420c5a
|
@ -358,7 +358,8 @@ s-expression corresponding to that package, or #f on failure."
|
||||||
(eq? repo 'bioconductor))
|
(eq? repo 'bioconductor))
|
||||||
;; Retry import from CRAN
|
;; Retry import from CRAN
|
||||||
(cran->guix-package package-name '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))
|
(define* (cran-recursive-import package-name #:optional (repo 'gnu))
|
||||||
(recursive-import package-name repo
|
(recursive-import package-name repo
|
||||||
|
|
Reference in New Issue