summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-05-04 08:42:13 +0200
committerRicardo Wurmus <rekado@elephly.net>2021-05-04 09:47:36 +0200
commit8ddbf984a2629124311290391e9a7ad45784616b (patch)
treee3039d69c8b6ad0ddbd589e43fbc67ed3d58b608
parent553767d02aa96775c762ac505fb42d783ef867a0 (diff)
downloadguix-8ddbf984a2629124311290391e9a7ad45784616b.tar.gz
gnu: r-future-apply: Set HOME directory variable.
* gnu/packages/cran.scm (r-future-apply)[arguments]: Add phase "set-HOME".
-rw-r--r--gnu/packages/cran.scm5
1 files changed, 5 insertions, 0 deletions
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)))