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

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

View file

@ -13878,6 +13878,11 @@ (define-public r-future
(base32
"0bfiy17n5rghxw0702k0vgpjkk13268lniifdlx59flf0q16d7lh"))))
(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-globals" ,r-globals)