aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2018-03-06 10:26:59 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-03-06 16:03:04 +0100
commit08ddb98aefc9d3831cea7c6dc6b68039836d09dd (patch)
tree715bd77ef475c842d1fa771fd37691c4627f85ea /gnu/packages
parent7949c140b10184f82247ea10fbbb344ecd097924 (diff)
downloadpatches-08ddb98aefc9d3831cea7c6dc6b68039836d09dd.tar
patches-08ddb98aefc9d3831cea7c6dc6b68039836d09dd.tar.gz
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/packages')
-rw-r--r--gnu/packages/statistics.scm8
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