diff options
author | Christopher Baines <mail@cbaines.net> | 2024-06-06 15:40:56 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2024-06-06 16:18:58 +0100 |
commit | c18b7685779e402524466bc33309b641bc6a1861 (patch) | |
tree | 0c67920e0b77a70c959ad597e72d0ceb367ea5e5 /scripts | |
parent | 6bd111c27ebec79b3a211f2b24c1c3a907ab6c26 (diff) | |
download | build-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.in | 3 |
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) |