[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: Fix a Squee null handling issue with latest fixed
From: |
Christopher Baines |
Subject: |
branch master updated: Fix a Squee null handling issue with latest fixed output derivations |
Date: |
Thu, 14 Jan 2021 17:11:23 -0500 |
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 54c5fbe Fix a Squee null handling issue with latest fixed output
derivations
54c5fbe is described below
commit 54c5fbe9fba59c9118eee2128bf55818ccadb52b
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Thu Jan 14 22:09:32 2021 +0000
Fix a Squee null handling issue with latest fixed output derivations
---
guix-data-service/model/derivation.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/guix-data-service/model/derivation.scm
b/guix-data-service/model/derivation.scm
index 3e211be..f41f55c 100644
--- a/guix-data-service/model/derivation.scm
+++ b/guix-data-service/model/derivation.scm
@@ -646,13 +646,13 @@ LIMIT $4"))
(map (match-lambda
((derivation_file_name latest_build)
`((derivation_file_name . ,derivation_file_name)
- (latest_build . ,(if latest_build
+ (latest_build . ,(if (null? latest_build)
+ 'null
(map (match-lambda
((key . value)
(cons (string->symbol key)
value)))
- (json-string->scm latest_build))
- 'null)))))
+ (json-string->scm
latest_build)))))))
(exec-query-with-null-handling
conn
query
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: Fix a Squee null handling issue with latest fixed output derivations,
Christopher Baines <=