Add a couple of comments to select-outputs-without-known-nar-entries
This commit is contained in:
parent
0759be52de
commit
726674486f
1 changed files with 2 additions and 0 deletions
|
|
@ -311,6 +311,7 @@ INNER JOIN derivation_outputs
|
||||||
INNER JOIN derivation_output_details
|
INNER JOIN derivation_output_details
|
||||||
ON derivation_outputs.derivation_output_details_id = derivation_output_details.id
|
ON derivation_outputs.derivation_output_details_id = derivation_output_details.id
|
||||||
WHERE derivation_output_details.path NOT IN (
|
WHERE derivation_output_details.path NOT IN (
|
||||||
|
-- Ignore outputs that have already been fetched
|
||||||
SELECT store_path
|
SELECT store_path
|
||||||
FROM nars
|
FROM nars
|
||||||
INNER JOIN narinfo_signatures
|
INNER JOIN narinfo_signatures
|
||||||
|
|
@ -328,6 +329,7 @@ WHERE derivation_output_details.path NOT IN (
|
||||||
(string-append
|
(string-append
|
||||||
"
|
"
|
||||||
AND derivations.id IN (
|
AND derivations.id IN (
|
||||||
|
-- Select outputs that are in the relevant revisions
|
||||||
SELECT derivation_id
|
SELECT derivation_id
|
||||||
FROM package_derivations
|
FROM package_derivations
|
||||||
INNER JOIN guix_revision_package_derivations
|
INNER JOIN guix_revision_package_derivations
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue