aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2024-06-06 15:40:56 +0100
committerChristopher Baines <mail@cbaines.net>2024-06-06 16:18:58 +0100
commitc18b7685779e402524466bc33309b641bc6a1861 (patch)
tree0c67920e0b77a70c959ad597e72d0ceb367ea5e5 /scripts
parent6bd111c27ebec79b3a211f2b24c1c3a907ab6c26 (diff)
downloadbuild-coordinator-c18b7685779e402524466bc33309b641bc6a1861.tar
build-coordinator-c18b7685779e402524466bc33309b641bc6a1861.tar.gz
Strip whitespace from derivation names
As this can trip things up.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/guix-build-coordinator.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/guix-build-coordinator.in b/scripts/guix-build-coordinator.in
index 86f604f..ad900c8 100644
--- a/scripts/guix-build-coordinator.in
+++ b/scripts/guix-build-coordinator.in
@@ -795,7 +795,8 @@ tags:
(let ((response
(send-submit-build-request
(assq-ref opts 'coordinator)
- derivation-file
+ ;; Whitespace like \r can creep in here, so strip it
+ (string-trim-both derivation-file)
(assq-ref opts 'derivation-substitute-urls)
#f ; TODO requested uuid
(assq-ref opts 'priority)