~ruther/guix-local

b5d51bb19e790baee9b16a3325397ec92d8e7625 — zimoun 4 years ago 42070c1
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>
1 files changed, 1 insertions(+), 1 deletions(-)

M guix/import/opam.scm
M guix/import/opam.scm => guix/import/opam.scm +1 -1
@@ 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