From c18b7685779e402524466bc33309b641bc6a1861 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Thu, 6 Jun 2024 15:40:56 +0100 Subject: Strip whitespace from derivation names As this can trip things up. --- scripts/guix-build-coordinator.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3