guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#51888] [PATCH 1/1] import: opam: Warn instead of leave when fetchin


From: zimoun
Subject: [bug#51888] [PATCH 1/1] import: opam: Warn instead of leave when fetching fails.
Date: Tue, 16 Nov 2021 11:12:34 +0100

* guix/import/opam.scm (opam-featch): Warn instead of leave when fetching
fails.
---
 guix/import/opam.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/import/opam.scm b/guix/import/opam.scm
index fe13d29f03..0804526e3a 100644
--- a/guix/import/opam.scm
+++ b/guix/import/opam.scm
@@ -318,7 +318,7 @@ (define* (opam-fetch name #:optional (repositories-specs 
'("opam")))
                 (_ others)))
             #f
             (filter-map get-opam-repository repositories-specs))
-      (leave (G_ "package '~a' not found~%") name)))
+      (warning (G_ "opam: package '~a' not found~%") name)))
 
 (define* (opam->guix-package name #:key (repo '()) version)
   "Import OPAM package NAME from REPOSITORIES (a list of names, URLs or local
-- 
2.32.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]