diff options
author | Julien Lepiller <julien@lepiller.eu> | 2021-11-22 00:16:52 +0100 |
---|---|---|
committer | Julien Lepiller <julien@lepiller.eu> | 2021-11-22 00:18:51 +0100 |
commit | 24aa7b3c21309b63cc6e8e18d6417d2cddccf6c6 (patch) | |
tree | 5c3d196ab5d9b5448e758134343ed0bab0b96b6e /guix/import | |
parent | b2d8174400369d69c27d6dd3914f77cc34388ea8 (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.scm | 3 |
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)) |