aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-03-26 17:36:36 +0100
committerChristopher Baines <mail@cbaines.net>2023-03-26 17:36:36 +0100
commit7dc9f350babf03963d1f9ed799adfe6615edb7d6 (patch)
tree98b0ac26c003d711a3a74f99f428510b3ebdbe47
parent8a077b607805bbbb289dffbe6e8f4882ae40474d (diff)
downloadbuild-coordinator-7dc9f350babf03963d1f9ed799adfe6615edb7d6.tar
build-coordinator-7dc9f350babf03963d1f9ed799adfe6615edb7d6.tar.gz
Fix sending tags as part of the build-submitted event
-rw-r--r--guix-build-coordinator/coordinator.scm9
1 files changed, 8 insertions, 1 deletions
diff --git a/guix-build-coordinator/coordinator.scm b/guix-build-coordinator/coordinator.scm
index 08574c0..a79ca40 100644
--- a/guix-build-coordinator/coordinator.scm
+++ b/guix-build-coordinator/coordinator.scm
@@ -677,7 +677,14 @@
`((id . ,build-id)
(derivation . ,derivation-file)
(priority . ,priority)
- (tags . ,tags)
+ (tags
+ . ,(list->vector
+ (map
+ (match-lambda
+ ((key . value)
+ `((key . ,key)
+ (value . ,value))))
+ tags)))
(defer_until . ,defer-until)))
(trigger-build-allocation build-coordinator)