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 (
|
WITH RECURSIVE all_derivations AS (
|
||||||
SELECT column1 AS derivation_id
|
SELECT column1 AS derivation_id
|
||||||
FROM (VALUES ("
|
FROM (VALUES "
|
||||||
(string-join (map number->string ids)
|
(string-join (map
|
||||||
|
(lambda (id)
|
||||||
|
(string-append "(" id ")"))
|
||||||
|
(map number->string ids))
|
||||||
", ")
|
", ")
|
||||||
")) AS data
|
") AS data
|
||||||
UNION
|
UNION
|
||||||
SELECT derivation_outputs.derivation_id
|
SELECT derivation_outputs.derivation_id
|
||||||
FROM all_derivations
|
FROM all_derivations
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue