diff --git a/guix/scripts/offload.scm b/guix/scripts/offload.scm index 9ebe930a82..2d2dbe36c5 100644 --- a/guix/scripts/offload.scm +++ b/guix/scripts/offload.scm @@ -396,10 +396,10 @@ connections allowed to MACHINE." (with-file-lock (machine-choice-lock-file) (define machines+slots - (map (lambda (machine) - (let ((slot (acquire-build-slot machine))) - (and slot (list machine slot)))) - machines)) + (filter-map (lambda (machine) + (let ((slot (acquire-build-slot machine))) + (and slot (list machine slot)))) + machines)) (define (undecorate pred) (match-lambda