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
1 changed files with 8 additions and 0 deletions

View File

@ -4042,6 +4042,14 @@ Zurich, including many that are related to graphics.")
(base32 (base32
"1xknwk9xlsj027pg0nwiizigcrsc84hdrig0jn0cgcyxj8dabdl6")))) "1xknwk9xlsj027pg0nwiizigcrsc84hdrig0jn0cgcyxj8dabdl6"))))
(build-system r-build-system) (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") (home-page "https://cran.r-project.org/web/packages/gtools")
(synopsis "Various R programming tools") (synopsis "Various R programming tools")
(description (description