From 1fe81b349cb3e179a200e14bbff4771174fa01e3 Mon Sep 17 00:00:00 2001 From: zimoun Date: Tue, 19 Jan 2021 16:47:19 +0100 Subject: import: elpa: Return multiple values for unknown packages. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Partly fixes . * guix/import/elpa.scm (elpa->guix-package): Return values. Signed-off-by: Ludovic Courtès --- guix/import/elpa.scm | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/guix/import/elpa.scm b/guix/import/elpa.scm index ea77a7c244..9399f45ebc 100644 --- a/guix/import/elpa.scm +++ b/guix/import/elpa.scm @@ -6,6 +6,7 @@ ;;; Copyright © 2020 Ricardo Wurmus ;;; Copyright © 2021 Xinglu Chen ;;; Copyright © 2021 Sarah Morgensen +;;; Copyright © 2021 Simon Tournier ;;; ;;; This file is part of GNU Guix. ;;; @@ -379,11 +380,7 @@ type ''." "Fetch the package NAME from REPO and produce a Guix package S-expression." (match (fetch-elpa-package name repo) (#false - (raise (condition - (&message - (message (format #false - "couldn't find meta-data for ELPA package `~a'." - name)))))) + (values #f '())) (package ;; ELPA is known to contain only GPLv3+ code. Other repos may contain ;; code under other license but there's no license metadata. -- cgit v1.2.3