aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--guix/scripts/offload.scm8
1 files changed, 4 insertions, 4 deletions
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