Fix some nulls

This commit is contained in:
Christopher Baines 2025-02-06 16:08:47 +00:00
parent 258ee0468b
commit 9e3cfabe77
2 changed files with 4 additions and 3 deletions

View file

@ -716,7 +716,7 @@ LIMIT $1"))
(map (match-lambda
((derivation_file_name latest_build)
`((derivation_file_name . ,derivation_file_name)
(latest_build . ,(if (null? latest_build)
(latest_build . ,(if (NULL? latest_build)
'null
(map (match-lambda
((key . value)
@ -902,7 +902,7 @@ ORDER BY derivation_output_details.path
hash
hash_algorithm
(string=? recursive "t")
(if (null? nars_json)
(if (NULL? nars_json)
#()
(json-string->scm nars_json))))
((package_name package_version