diff options
author | Christopher Baines <mail@cbaines.net> | 2019-03-24 10:50:03 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2019-03-24 10:50:03 +0000 |
commit | 5d0dcea3e4a0205abcc37901aa281a4c39bdd229 (patch) | |
tree | f8a22e7aabc429a04aa17f4ced5dcaab9d465833 /guix-data-service | |
parent | 21b07b07a973adcf94046f5bec2338c1207c35f4 (diff) | |
download | data-service-5d0dcea3e4a0205abcc37901aa281a4c39bdd229.tar data-service-5d0dcea3e4a0205abcc37901aa281a4c39bdd229.tar.gz |
Deduplicate file-names in select-derivations-and-build-status
As this can make the queries a bit more readable.
Diffstat (limited to 'guix-data-service')
-rw-r--r-- | guix-data-service/model/derivation.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix-data-service/model/derivation.scm b/guix-data-service/model/derivation.scm index 07b8ee6..f7b2cab 100644 --- a/guix-data-service/model/derivation.scm +++ b/guix-data-service/model/derivation.scm @@ -491,7 +491,7 @@ ORDER BY derivations.system DESC, "derivations.system" "target" "latest_build_status.status") - (list file-names + (list (deduplicate-strings file-names) systems targets build-statuses)) |