summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-05-04 07:13:23 +0200
committerRicardo Wurmus <rekado@elephly.net>2021-05-04 07:27:51 +0200
commit2fbdb156698b057a1c8a1eeeae75d8eaaec7f93a (patch)
treeeafe57bcd9cb63a00d9ce175e22b710373937e10
parent2eab3898e1a4488171566f1e8cb919369456c53d (diff)
gnu: r-r-rsp: Add build phase to set HOME directory.
* gnu/packages/statistics.scm (r-r-rsp)[arguments]: Add build phase "set-HOME".
-rw-r--r--gnu/packages/statistics.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index e2fe5a5640..999e03ec66 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -3609,6 +3609,11 @@ persistent (on the file system).")
"0n9sxrffahgxcc8h9vgxg5i446g14cibixpf82nkpm5bvidhfsc9"))))
(properties `((upstream-name . "R.rsp")))
(build-system r-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'set-HOME
+ (lambda _ (setenv "HOME" "/tmp"))))))
(propagated-inputs
`(("r-digest" ,r-digest)
("r-r-cache" ,r-r-cache)