diff options
author | Christopher Baines <mail@cbaines.net> | 2021-02-08 22:18:27 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2021-02-08 22:18:27 +0000 |
commit | 146ffbe5eb5469615c7ac1ba01421c39c863022e (patch) | |
tree | bdcfe8caa9b7d6fb7f6746bcef6da75d431a6a15 /guix-data-service | |
parent | 110a3b7ce5fdbf97363dbc4e283c3eb8f0a3d41c (diff) | |
download | data-service-146ffbe5eb5469615c7ac1ba01421c39c863022e.tar data-service-146ffbe5eb5469615c7ac1ba01421c39c863022e.tar.gz |
Fix excluding derivations for unchanged outputs
Diffstat (limited to 'guix-data-service')
-rw-r--r-- | guix-data-service/comparison.scm | 16 |
1 files 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) "") |