rekado pushed a commit to branch master
in repository guix.

commit 08ddb98aefc9d3831cea7c6dc6b68039836d09dd
Author: Ricardo Wurmus <ricardo.wur...@mdc-berlin.de>
Date:   Tue Mar 6 10:26:59 2018 +0100

    gnu: r-gtools: Make output deterministic.
    
    * gnu/packages/statistics.scm (r-gtools)[arguments]: Add build phase to 
avoid
    running tempdir at build time.
---
 gnu/packages/statistics.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index baec1c4..338db28 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

Reply via email to