From 9a1c1b30cbc4a221a1a4f7e64fd4bef16127fa41 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Mon, 27 Jan 2025 12:25:04 +0000 Subject: [PATCH] Fix matching NULL --- guix-data-service/model/nar.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix-data-service/model/nar.scm b/guix-data-service/model/nar.scm index d275421..c66e6d2 100644 --- a/guix-data-service/model/nar.scm +++ b/guix-data-service/model/nar.scm @@ -375,7 +375,7 @@ ORDER BY COUNT(*) DESC") (match status ("t" 'matching) ("f" 'not-matching) - (() 'unknown)) + ((? NULL? x) 'unknown)) (string->number count)))) (exec-query-with-null-handling conn query (list revision-commit)))))