From 8ddbf984a2629124311290391e9a7ad45784616b Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 4 May 2021 08:42:13 +0200 Subject: gnu: r-future-apply: Set HOME directory variable. * gnu/packages/cran.scm (r-future-apply)[arguments]: Add phase "set-HOME". --- gnu/packages/cran.scm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gnu/packages/cran.scm') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 818fd8fb84..8fab2f2e5a 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -13917,6 +13917,11 @@ the local machine to, say, distributed processing on a remote compute cluster.") "1ns5cf80vyabvyz9qp6kpvkg4jycinn7x6v7x6692fgjapdnmyig")))) (properties `((upstream-name . "future.apply"))) (build-system r-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'set-HOME + (lambda _ (setenv "HOME" "/tmp")))))) (propagated-inputs `(("r-future" ,r-future) ("r-globals" ,r-globals))) -- cgit v1.2.3