aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-06-06 23:30:30 +0200
committerRicardo Wurmus <rekado@elephly.net>2018-06-06 23:30:30 +0200
commit4dd91dff477b9717b3fa494b23976e4d69ab7dfc (patch)
tree2b696fa2008762dc3dd7ec6c18936c0935b75c64
parent87096247567ac0d4aac3fc5a7a1e150d307c5b80 (diff)
downloadguix-4dd91dff477b9717b3fa494b23976e4d69ab7dfc.tar
guix-4dd91dff477b9717b3fa494b23976e4d69ab7dfc.tar.gz
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.
-rw-r--r--guix/build/r-build-system.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/build/r-build-system.scm b/guix/build/r-build-system.scm
index 4d8ac5b479..2c0b322da9 100644
--- a/guix/build/r-build-system.scm
+++ b/guix/build/r-build-system.scm
@@ -44,7 +44,7 @@
(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)))))))))