Fix the select-source-files-missing-nars query
Previously, the VALUES list wasn't being generated properly.
This commit is contained in:
parent
f2b9663cf2
commit
8b34126d22
1 changed files with 6 additions and 3 deletions
|
|
@ -1753,10 +1753,13 @@ WHERE " criteria ";"))
|
|||
"
|
||||
WITH RECURSIVE all_derivations AS (
|
||||
SELECT column1 AS derivation_id
|
||||
FROM (VALUES ("
|
||||
(string-join (map number->string ids)
|
||||
FROM (VALUES "
|
||||
(string-join (map
|
||||
(lambda (id)
|
||||
(string-append "(" id ")"))
|
||||
(map number->string ids))
|
||||
", ")
|
||||
")) AS data
|
||||
") AS data
|
||||
UNION
|
||||
SELECT derivation_outputs.derivation_id
|
||||
FROM all_derivations
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue