guix-commits
[Top][All Lists]
Advanced

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

branch master updated: import: opam: Warn instead of leave when fetching


From: guix-commits
Subject: branch master updated: import: opam: Warn instead of leave when fetching fails.
Date: Fri, 19 Nov 2021 06:58:45 -0500

This is an automated email from the git hooks/post-receive script.

roptat pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new b5d51bb  import: opam: Warn instead of leave when fetching fails.
b5d51bb is described below

commit b5d51bb19e790baee9b16a3325397ec92d8e7625
Author: zimoun <zimon.toutoune@gmail.com>
AuthorDate: Tue Nov 16 11:12:34 2021 +0100

    import: opam: Warn instead of leave when fetching fails.
    
    * guix/import/opam.scm (opam-featch): Warn instead of leave when fetching
    fails.
    
    Signed-off-by: Julien Lepiller <julien@lepiller.eu>
---
 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 fe13d29..0804526 100644
--- a/guix/import/opam.scm
+++ b/guix/import/opam.scm
@@ -318,7 +318,7 @@ path to the repository."
                 (_ 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



reply via email to

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