Include package details for the package derivation outputs JSON
So it's easier to match the output back to the package.
This commit is contained in:
parent
4231f11cb8
commit
f15dc5ab0b
3 changed files with 16 additions and 7 deletions
|
|
@ -463,7 +463,9 @@ ORDER BY derivations.file_name
|
|||
(define query
|
||||
(string-append
|
||||
"
|
||||
SELECT derivation_output_details.path,
|
||||
SELECT packages.name,
|
||||
packages.version,
|
||||
derivation_output_details.path,
|
||||
derivation_output_details.hash_algorithm,
|
||||
derivation_output_details.hash,
|
||||
derivation_output_details.recursive,
|
||||
|
|
@ -599,8 +601,11 @@ ORDER BY derivation_output_details.path
|
|||
"")))
|
||||
|
||||
(map (match-lambda
|
||||
((path hash_algorithm hash recursive nars_json)
|
||||
(list path
|
||||
((package_name package_version
|
||||
path hash_algorithm hash recursive nars_json)
|
||||
(list package_name
|
||||
package_version
|
||||
path
|
||||
hash
|
||||
hash_algorithm
|
||||
(string=? recursive "t")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue