gnu: r-gtools: Make output deterministic.

* gnu/packages/statistics.scm (r-gtools)[arguments]: Add build phase to avoid
running tempdir at build time.
This commit is contained in:
Ricardo Wurmus 2018-03-06 10:26:59 +01:00 committed by Ricardo Wurmus
parent 7949c140b1
commit 08ddb98aef
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -4042,6 +4042,14 @@ (define-public r-gtools
(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