guix-commits
[Top][All Lists]
Advanced

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

115/133: gnu: r-r-filesets: Fix build by setting HOME.


From: guix-commits
Subject: 115/133: gnu: r-r-filesets: Fix build by setting HOME.
Date: Thu, 30 Sep 2021 06:43:36 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 74717852d4449fe02ae66daa513d396b1c845188
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Sep 29 20:12:45 2021 +0200

    gnu: r-r-filesets: Fix build by setting HOME.
    
    * gnu/packages/cran.scm (r-r-filesets)[arguments]: Add build phase to set 
HOME
    variable.
---
 gnu/packages/cran.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 0b040dc..ebfe9fd 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -21537,6 +21537,11 @@ the @code{aroma.affymetrix} package.")
          "08xv8b3c81nf54viyr3w912al18483k5gfnjpg7bxbdfk70dfzbh"))))
     (properties `((upstream-name . "R.filesets")))
     (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]