guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/17: gnu: r-future-apply: Set HOME directory variable.


From: guix-commits
Subject: 02/17: gnu: r-future-apply: Set HOME directory variable.
Date: Tue, 4 May 2021 03:48:09 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 8ddbf984a2629124311290391e9a7ad45784616b
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue May 4 08:42:13 2021 +0200

    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(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 818fd8f..8fab2f2 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]