me
/
guix
Archived
1
0
Fork 0

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
Ricardo Wurmus 2019-01-03 08:32:50 +01:00
parent 632ea817b8
commit 7bb6420c5a
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 2 additions and 1 deletions

View File

@ -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