From 24aa7b3c21309b63cc6e8e18d6417d2cddccf6c6 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Mon, 22 Nov 2021 00:16:52 +0100 Subject: import: opam: Fix error on unknown field value. * guix/import/opam.scm (metadata-ref): Return #f if field is present, but its content is of unknown form. --- guix/import/opam.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'guix/import') diff --git a/guix/import/opam.scm b/guix/import/opam.scm index 0804526e3a..eb384ba426 100644 --- a/guix/import/opam.scm +++ b/guix/import/opam.scm @@ -230,7 +230,8 @@ path to the repository." (('list-pat . stuff) stuff) (('string-pat stuff) stuff) (('multiline-string stuff) stuff) - (('dict records ...) records)) + (('dict records ...) records) + (_ #f)) acc)))) #f file)) -- cgit v1.2.3