summary refs log tree commit diff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-05-04 07:13:11 +0200
committerRicardo Wurmus <rekado@elephly.net>2021-05-04 07:27:47 +0200
commite2a1a68e60ed6ef616c187842dd3114a5326ee1e (patch)
treed05260de0c0f5ebbe25f099c8eb562c54ff53c18 /gnu/packages/cran.scm
parent1b7948536b4181806499003f3ae0b70cd04bff6a (diff)
downloadguix-e2a1a68e60ed6ef616c187842dd3114a5326ee1e.tar.gz
gnu: r-future: Add build phase to set HOME directory.
* gnu/packages/cran.scm (r-future)[arguments]: Add build phase "set-HOME".
Diffstat (limited to 'gnu/packages/cran.scm')
-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 7fd0d622c6..af8a2275d9 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -13878,6 +13878,11 @@ port-forwarding to your local computer.")
         (base32
          "0bfiy17n5rghxw0702k0vgpjkk13268lniifdlx59flf0q16d7lh"))))
     (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-globals" ,r-globals)