gnu: r-r-rsp: Add build phase to set HOME directory.

* gnu/packages/statistics.scm (r-r-rsp)[arguments]: Add build phase
"set-HOME".
This commit is contained in:
Ricardo Wurmus 2021-05-04 07:13:23 +02:00
parent 2eab3898e1
commit 2fbdb15669
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -3609,6 +3609,11 @@ (define-public r-r-rsp
"0n9sxrffahgxcc8h9vgxg5i446g14cibixpf82nkpm5bvidhfsc9")))) "0n9sxrffahgxcc8h9vgxg5i446g14cibixpf82nkpm5bvidhfsc9"))))
(properties `((upstream-name . "R.rsp"))) (properties `((upstream-name . "R.rsp")))
(build-system r-build-system) (build-system r-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'set-HOME
(lambda _ (setenv "HOME" "/tmp"))))))
(propagated-inputs (propagated-inputs
`(("r-digest" ,r-digest) `(("r-digest" ,r-digest)
("r-r-cache" ,r-r-cache) ("r-r-cache" ,r-r-cache)