[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/08: swh: Adjust for Guile-JSON 4.0 null handling.
From: |
guix-commits |
Subject: |
07/08: swh: Adjust for Guile-JSON 4.0 null handling. |
Date: |
Mon, 29 Jun 2020 18:19:18 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit cc6dd2981c7e81a3a1750821ba53e63a7a4bc8e9
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Tue Jun 30 00:15:35 2020 +0200
swh: Adjust for Guile-JSON 4.0 null handling.
* guix/swh.scm (string*): Add clause for 'null.
---
guix/swh.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guix/swh.scm b/guix/swh.scm
index ec744fe..913f0d1 100644
--- a/guix/swh.scm
+++ b/guix/swh.scm
@@ -174,7 +174,8 @@ Software Heritage."
;; Converts "string or #nil" coming from JSON to "string or #f".
(match-lambda
((? string? str) str)
- ((? null?) #f)))
+ ((? null?) #f) ;Guile-JSON 3.x
+ ('null #f))) ;Guile-JSON 4.x
(define %allow-request?
;; Takes a URL and method (e.g., the 'http-get' procedure) and returns true
- branch master updated (3e51f9e -> d2fde34), guix-commits, 2020/06/29
- 01/08: build-system/r: bioconductor-uri: Fix archive URL., guix-commits, 2020/06/29
- 02/08: pack: Dereference symlinks when looking for executables., guix-commits, 2020/06/29
- 04/08: gnu: python-imageio: Update home-page, synopsis and description., guix-commits, 2020/06/29
- 08/08: lint: Adjust 'swh-error exception handler., guix-commits, 2020/06/29
- 03/08: gnu: gcc-toolchain: Remove "glibc:debug" and "glibc:static" from "out"., guix-commits, 2020/06/29
- 06/08: gnu: geeqie: Update to 1.5., guix-commits, 2020/06/29
- 07/08: swh: Adjust for Guile-JSON 4.0 null handling.,
guix-commits <=
- 05/08: gnu: darktable: Add dependency on GMIC and OpenCL headers., guix-commits, 2020/06/29