Add a couple of comments to select-outputs-without-known-nar-entries

This commit is contained in:
Christopher Baines 2020-01-05 11:24:32 +00:00
parent 0759be52de
commit 726674486f

View file

@ -311,6 +311,7 @@ INNER JOIN derivation_outputs
INNER JOIN derivation_output_details
ON derivation_outputs.derivation_output_details_id = derivation_output_details.id
WHERE derivation_output_details.path NOT IN (
-- Ignore outputs that have already been fetched
SELECT store_path
FROM nars
INNER JOIN narinfo_signatures
@ -328,6 +329,7 @@ WHERE derivation_output_details.path NOT IN (
(string-append
"
AND derivations.id IN (
-- Select outputs that are in the relevant revisions
SELECT derivation_id
FROM package_derivations
INNER JOIN guix_revision_package_derivations