build-system/r: Fix type error.

Reported-by: Mark H Weaver <mhw@netris.org>

* guix/build/r-build-system.scm (pipe-to-r): Pass a list to the condition's
"arguments" field.
This commit is contained in:
Ricardo Wurmus 2018-06-06 23:30:30 +02:00
parent 8709624756
commit 4dd91dff47
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -44,7 +44,7 @@ (define (pipe-to-r command params)
(unless (zero? code)
(raise (condition ((@@ (guix build utils) &invoke-error)
(program "R")
(arguments (string-append params " " command))
(arguments (cons command params))
(exit-status (status:exit-val code))
(term-signal (status:term-sig code))
(stop-signal (status:stop-sig code)))))))))