aboutsummaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2018-06-30 10:51:45 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2018-07-03 07:19:13 +0300
commitae6fa00af02399e2ffadccc81bd7718cc7c26f10 (patch)
tree2f54282be57666117b6e5b9a89064d8efc88e70f /guix
parent3a15d0aa9c55881ddc3a21570350a743c28a6c92 (diff)
downloadgnu-guix-ae6fa00af02399e2ffadccc81bd7718cc7c26f10.tar
gnu-guix-ae6fa00af02399e2ffadccc81bd7718cc7c26f10.tar.gz
import: elpa: Check if 'fetch-elpa-package' rest argument is null.
* guix/import/elpa.scm (fetch-elpa-package): Check if 'rest' is null.
Diffstat (limited to 'guix')
-rw-r--r--guix/import/elpa.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/guix/import/elpa.scm b/guix/import/elpa.scm
index 65e0be45ab..c37afaf8e6 100644
--- a/guix/import/elpa.scm
+++ b/guix/import/elpa.scm
@@ -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))))