mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
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:
parent
7949c140b1
commit
08ddb98aef
1 changed files with 8 additions and 0 deletions
|
@ -4042,6 +4042,14 @@ (define-public r-gtools
|
||||||
(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
|
||||||
|
|
Loading…
Reference in a new issue