This is an automated email from the git hooks/post-receive script.

cbaines pushed a commit to branch master
in repository data-service.

The following commit(s) were added to refs/heads/master by this push:
     new c225475  Fix a squee update issue with the package reproducibility page
c225475 is described below

commit c2254754d502f5c87afe536a5a1e2fe1c9159ee3
Author: Christopher Baines <[email protected]>
AuthorDate: Sat Feb 6 19:30:05 2021 +0000

    Fix a squee update issue with the package reproducibility page
---
 guix-data-service/model/nar.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/guix-data-service/model/nar.scm b/guix-data-service/model/nar.scm
index 69dc0a4..b444ed5 100644
--- a/guix-data-service/model/nar.scm
+++ b/guix-data-service/model/nar.scm
@@ -25,6 +25,7 @@
   #:use-module (gcrypt pk-crypto)
   #:use-module (gcrypt base16)
   #:use-module (guix narinfo)
+  #:use-module (guix-data-service database)
   #:use-module (guix-data-service model utils)
   #:export (select-outputs-without-known-nar-entries
             select-nars-for-output
@@ -366,9 +367,9 @@ ORDER BY COUNT(*) DESC")
                  (match status
                    ("t" 'matching)
                    ("f" 'not-matching)
-                   ("" 'unknown))
+                   (() 'unknown))
                  (string->number count))))
-        (exec-query conn query (list revision-commit)))))
+        (exec-query-with-null-handling conn query (list revision-commit)))))
 
 (define (select-outputs-without-known-nar-entries
          conn

Reply via email to