[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: r-tweenr: Build reproducibly.
From: |
guix-commits |
Subject: |
branch master updated: gnu: r-tweenr: Build reproducibly. |
Date: |
Mon, 15 Aug 2022 05:04:25 -0400 |
This is an automated email from the git hooks/post-receive script.
rekado pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 2e88164023 gnu: r-tweenr: Build reproducibly.
2e88164023 is described below
commit 2e88164023cad397fecac023cc7855b3ad1d84b6
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Aug 15 10:59:45 2022 +0200
gnu: r-tweenr: Build reproducibly.
* gnu/packages/cran.scm (r-tweenr)[arguments]: Add phase 'build-reproducibly
to avoid embedding random time difference.
---
gnu/packages/cran.scm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index eb772ce5ae..e03b707162 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -19060,6 +19060,15 @@ packages with Rcpp.")
(base32
"17znizh4yabh2zs9mzyr0sl6p0pw49961i61br7cl1b7v9sza18q"))))
(build-system r-build-system)
+ (arguments
+ (list
+ #:phases
+ '(modify-phases %standard-phases
+ (add-after 'unpack 'build-reproducibly
+ (lambda _
+ (substitute* "R/aaa.R"
+ (("BASEDATETIME <- Sys.time.*")
+ "BASEDATETIME <- structure(0, class = c(\"POSIXct\",
\"POSIXt\"))\n")))))))
(propagated-inputs
(list r-farver r-magrittr r-rcpp r-rlang))
(home-page "https://github.com/thomasp85/tweenr")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: r-tweenr: Build reproducibly.,
guix-commits <=