summaryrefslogtreecommitdiff
path: root/guix/import
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2021-11-22 00:16:52 +0100
committerJulien Lepiller <julien@lepiller.eu>2021-11-22 00:18:51 +0100
commit24aa7b3c21309b63cc6e8e18d6417d2cddccf6c6 (patch)
tree5c3d196ab5d9b5448e758134343ed0bab0b96b6e /guix/import
parentb2d8174400369d69c27d6dd3914f77cc34388ea8 (diff)
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.
Diffstat (limited to 'guix/import')
-rw-r--r--guix/import/opam.scm3
1 files changed, 2 insertions, 1 deletions
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))