Fix a Squee null handling issue with latest fixed output derivations
This commit is contained in:
parent
ea7331ad25
commit
54c5fbe9fb
1 changed files with 3 additions and 3 deletions
|
|
@ -646,13 +646,13 @@ LIMIT $4"))
|
||||||
(map (match-lambda
|
(map (match-lambda
|
||||||
((derivation_file_name latest_build)
|
((derivation_file_name latest_build)
|
||||||
`((derivation_file_name . ,derivation_file_name)
|
`((derivation_file_name . ,derivation_file_name)
|
||||||
(latest_build . ,(if latest_build
|
(latest_build . ,(if (null? latest_build)
|
||||||
|
'null
|
||||||
(map (match-lambda
|
(map (match-lambda
|
||||||
((key . value)
|
((key . value)
|
||||||
(cons (string->symbol key)
|
(cons (string->symbol key)
|
||||||
value)))
|
value)))
|
||||||
(json-string->scm latest_build))
|
(json-string->scm latest_build)))))))
|
||||||
'null)))))
|
|
||||||
(exec-query-with-null-handling
|
(exec-query-with-null-handling
|
||||||
conn
|
conn
|
||||||
query
|
query
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue