diff options
Diffstat (limited to 'guix-build-coordinator/utils.scm')
-rw-r--r-- | guix-build-coordinator/utils.scm | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/guix-build-coordinator/utils.scm b/guix-build-coordinator/utils.scm index dbc92e0..5048d29 100644 --- a/guix-build-coordinator/utils.scm +++ b/guix-build-coordinator/utils.scm @@ -414,9 +414,12 @@ References: ~a~%" (loop (+ 1 attempt)))))))) (define* (s3-list-objects s3-bucket prefix - #:key (command-line-arguments '())) + #:key + (command "aws") + (command-line-arguments '())) (let ((command - `("aws" "s3api" + `(,command + "s3api" ,@command-line-arguments "list-objects" "--bucket" ,s3-bucket @@ -441,9 +444,12 @@ References: ~a~%" output))))))) (define* (s3-cp s3-bucket source destination - #:key (command-line-arguments '())) + #:key + (command "aws") + (command-line-arguments '())) (let ((command - `("aws" "s3" + `(,command + "s3" ,@command-line-arguments "cp" ,source |