summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-05-04 08:33:35 +0200
committerRicardo Wurmus <rekado@elephly.net>2021-05-04 09:47:32 +0200
commit553767d02aa96775c762ac505fb42d783ef867a0 (patch)
treef8f5f48099a8e16c4dc749a6da73ad9bf4829ab5
parentec4012c5820fb139d07dee492f8b0d492ec1c042 (diff)
downloadguix-553767d02aa96775c762ac505fb42d783ef867a0.tar.gz
gnu: r-matrixstats: Set HOME directory variable.
* gnu/packages/statistics.scm (r-matrixstats)[arguments]: Add phase
"set-HOME".
-rw-r--r--gnu/packages/statistics.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index e1ada14ec9..7fe1c682ff 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -3665,6 +3665,11 @@ t-probabilities, quantiles, random deviates and densities.")
                 "0jab3xk56vqqzgz8jbsvxvsvr83sj0gb3cic0906wjyjijwv8rw3"))))
     (properties `((upstream-name . "matrixStats")))
     (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))) ;used to build vignettes
     (home-page "https://github.com/HenrikBengtsson/matrixStats")