From 08ddb98aefc9d3831cea7c6dc6b68039836d09dd Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 6 Mar 2018 10:26:59 +0100 Subject: gnu: r-gtools: Make output deterministic. * gnu/packages/statistics.scm (r-gtools)[arguments]: Add build phase to avoid running tempdir at build time. --- gnu/packages/statistics.scm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index baec1c47d2..338db28222 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -4042,6 +4042,14 @@ Zurich, including many that are related to graphics.") (base32 "1xknwk9xlsj027pg0nwiizigcrsc84hdrig0jn0cgcyxj8dabdl6")))) (build-system r-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'make-deterministic + (lambda _ + (substitute* "R/checkReverseDependencies.R" + (("tempdir\\(\\)") "\"/tmp\"")) + #t))))) (home-page "https://cran.r-project.org/web/packages/gtools") (synopsis "Various R programming tools") (description -- cgit v1.2.3