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
commit8c89cc7edbf01968d2969d9ce4229fb28a908368 (patch)
tree562ac3a10835b44ef6866826bd9b1d322aca0096 /gnu/packages/cran.scm
parent2ac230527b9860be67fb1a2d0763cbd264d65004 (diff)
downloadguix-8c89cc7edbf01968d2969d9ce4229fb28a908368.tar.gz
gnu: r-listenv: Add phase to set HOME directory.
* gnu/packages/cran.scm (r-listenv)[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 b5f216489c..001172405d 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -13798,6 +13798,11 @@ by change of variable.")
         (base32
          "0ps8bk7zlhbviawrw7vw25skjq81hkk3ijyi6g74dmfqy8zsyapx"))))
     (build-system r-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'set-HOME
+           (lambda _ (setenv "HOME" "/tmp"))))))
     (native-inputs
      `(("r-r-rsp" ,r-r-rsp))) ; vignette builder
     (home-page "https://github.com/HenrikBengtsson/listenv")