aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-07-03 09:17:31 +0100
committerChristopher Baines <mail@cbaines.net>2020-07-03 09:21:22 +0100
commit63e38b087cbc549fd9fc5f817114dbe976036bc3 (patch)
tree18a2135f97d280b09f35efdbb91472fbc91e38e7 /scripts
parent8bb64fd8f5479a4d3e7f6689340ef43c5da88d53 (diff)
downloadbuild-coordinator-63e38b087cbc549fd9fc5f817114dbe976036bc3.tar
build-coordinator-63e38b087cbc549fd9fc5f817114dbe976036bc3.tar.gz
Deduplicate the system arguments for the agent process
The default value of the current system can lead to duplicates.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/guix-build-coordinator-agent.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/guix-build-coordinator-agent.in b/scripts/guix-build-coordinator-agent.in
index 74e4ffb..bbdc6bd 100644
--- a/scripts/guix-build-coordinator-agent.in
+++ b/scripts/guix-build-coordinator-agent.in
@@ -95,7 +95,7 @@
(run-agent (assq-ref opts 'uuid)
(assq-ref opts 'coordinator)
(assq-ref opts 'password)
- (assq-ref opts 'systems)
+ (delete-duplicates (assq-ref opts 'systems))
(assq-ref opts 'max-parallel-builds)
(or (assq-ref opts 'derivation-substitute-urls)
(assq-ref opts 'substitute-urls))