guix-commits
[Top][All Lists]
Advanced

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

120/125: gnu: r-r-rsp: Add build phase to set HOME directory.


From: guix-commits
Subject: 120/125: gnu: r-r-rsp: Add build phase to set HOME directory.
Date: Tue, 4 May 2021 01:33:48 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 2fbdb156698b057a1c8a1eeeae75d8eaaec7f93a
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue May 4 07:13:23 2021 +0200

    gnu: r-r-rsp: Add build phase to set HOME directory.
    
    * gnu/packages/statistics.scm (r-r-rsp)[arguments]: Add build phase
    "set-HOME".
---
 gnu/packages/statistics.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index e2fe5a5..999e03e 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -3609,6 +3609,11 @@ persistent (on the file system).")
                 "0n9sxrffahgxcc8h9vgxg5i446g14cibixpf82nkpm5bvidhfsc9"))))
     (properties `((upstream-name . "R.rsp")))
     (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-r-cache" ,r-r-cache)



reply via email to

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