gnu: r-matrixstats: Set HOME directory variable.

* gnu/packages/statistics.scm (r-matrixstats)[arguments]: Add phase
"set-HOME".
This commit is contained in:
Ricardo Wurmus 2021-05-04 08:33:35 +02:00
parent ec4012c582
commit 553767d02a
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -3665,6 +3665,11 @@ (define-public r-matrixstats
"0jab3xk56vqqzgz8jbsvxvsvr83sj0gb3cic0906wjyjijwv8rw3"))))
(properties `((upstream-name . "matrixStats")))
(build-system r-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'set-HOME
(lambda _ (setenv "HOME" "/tmp"))))))
(native-inputs
`(("r-r-rsp" ,r-r-rsp))) ;used to build vignettes
(home-page "https://github.com/HenrikBengtsson/matrixStats")