From 553767d02aa96775c762ac505fb42d783ef867a0 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 4 May 2021 08:33:35 +0200 Subject: [PATCH] gnu: r-matrixstats: Set HOME directory variable. * gnu/packages/statistics.scm (r-matrixstats)[arguments]: Add 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 e1ada14ec9..7fe1c682ff 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -3665,6 +3665,11 @@ (define-public r-matrixstats "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")