diff options
author | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2018-03-06 10:26:59 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2018-03-06 16:03:04 +0100 |
commit | 08ddb98aefc9d3831cea7c6dc6b68039836d09dd (patch) | |
tree | 715bd77ef475c842d1fa771fd37691c4627f85ea /gnu | |
parent | 7949c140b10184f82247ea10fbbb344ecd097924 (diff) | |
download | guix-08ddb98aefc9d3831cea7c6dc6b68039836d09dd.tar.gz guix-08ddb98aefc9d3831cea7c6dc6b68039836d09dd.zip |
gnu: r-gtools: Make output deterministic.
* gnu/packages/statistics.scm (r-gtools)[arguments]: Add build phase to avoid
running tempdir at build time.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/statistics.scm | 8 |
1 files changed, 8 insertions, 0 deletions
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 |