mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: r: Fix more reproducibility problems.
* gnu/packages/statistics.scm (r)[arguments]: Patch locations in the build system that need special treatment for reproducibility.
This commit is contained in:
parent
745c687be3
commit
beaa026aa7
1 changed files with 10 additions and 0 deletions
|
@ -134,6 +134,16 @@ (define-public r
|
|||
(("INSTALL_OPTS =(.*)" line rest )
|
||||
(string-append "INSTALL_OPTS = --built-timestamp=1970-01-01"
|
||||
rest)))
|
||||
;; Ensure that gzipped files are reproducible
|
||||
(substitute* '("src/library/grDevices/Makefile.in"
|
||||
"doc/manual/Makefile.in")
|
||||
(("R_GZIPCMD\\)" line)
|
||||
(string-append line " -n")))
|
||||
;; This library is installed using "install_package_description",
|
||||
;; so we need to pass the "builtStamp" argument.
|
||||
(substitute* "src/library/tools/Makefile.in"
|
||||
(("(install_package_description\\(.*\"')\\)\"" line prefix)
|
||||
(string-append prefix ", builtStamp='1970-01-01')\"")))
|
||||
#t))
|
||||
(add-before 'configure 'set-default-pager
|
||||
;; Set default pager to "cat", because otherwise it is "false",
|
||||
|
|
Loading…
Reference in a new issue