diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2022-08-15 10:59:45 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2022-08-15 11:01:35 +0200 |
commit | 2e88164023cad397fecac023cc7855b3ad1d84b6 (patch) | |
tree | 1d308d2e93ac638f0d0233dd78d89e97cbdde797 | |
parent | f6709ee23487ce476d8145b2c8f793d9ed1f4c87 (diff) |
gnu: r-tweenr: Build reproducibly.
* gnu/packages/cran.scm (r-tweenr)[arguments]: Add phase 'build-reproducibly
to avoid embedding random time difference.
-rw-r--r-- | gnu/packages/cran.scm | 9 |
1 files changed, 9 insertions, 0 deletions
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") |