import: elpa: Check if 'fetch-elpa-package' rest argument is null.

* guix/import/elpa.scm (fetch-elpa-package): Check if 'rest' is null.
master
Oleg Pykhalov 2018-06-30 10:51:45 +03:00
parent 3a15d0aa9c
commit ae6fa00af0
No known key found for this signature in database
GPG Key ID: 7246E11C69B79569
1 changed files with 3 additions and 1 deletions

View File

@ -187,7 +187,9 @@ include VERSION."
(url (package-source-url kind name ver repo)))
(make-elpa-package name ver
(ensure-list reqs) synopsis kind
(package-home-page (first rest))
(package-home-page (match rest
(() #f)
((one) one)))
(fetch-package-description kind name repo)
url)))
(_ #f))))