From 146ffbe5eb5469615c7ac1ba01421c39c863022e Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Mon, 8 Feb 2021 22:18:27 +0000 Subject: Fix excluding derivations for unchanged outputs --- guix-data-service/comparison.scm | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/guix-data-service/comparison.scm b/guix-data-service/comparison.scm index 4a6805a..aad76bd 100644 --- a/guix-data-service/comparison.scm +++ b/guix-data-service/comparison.scm @@ -386,19 +386,9 @@ WHERE "") (if exclude-unchanged-outputs? " - AND NOT ( - ( - SELECT array_agg(id ORDER BY id) - FROM derivation_outputs - WHERE derivation_outputs.derivation_id = base_packages.derivation_id - ) - && - ( - SELECT array_agg(id ORDER BY id) - FROM derivation_outputs - WHERE derivation_outputs.derivation_id = target_packages.derivation_id - ) - )" + AND base_packages.derivation_output_details_set_id <> + target_packages.derivation_output_details_set_id + " "") (cond ((eq? build-change #f) "") -- cgit v1.2.3