mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: r-with-tests: Work around reproducibility problem.
Fixes <https://bugs.gnu.org/35441>. * gnu/packages/statistics.scm (r-with-tests)[arguments]: Avoid reproducibility problem by patching problematic sequence of characters in DESCRIPTION file template.
This commit is contained in:
parent
615ee12e64
commit
79624befa1
1 changed files with 9 additions and 0 deletions
|
@ -269,6 +269,15 @@ (define r-with-tests
|
|||
(substitute* "tools/help2man.pl"
|
||||
(("my \\$date = strftime \"%B %Y\", localtime" line)
|
||||
(string-append line " 1"))))
|
||||
|
||||
;; The "References" section of this file when converted to
|
||||
;; package.rds is sometimes stored with a newline, sometimes with
|
||||
;; a space. We avoid this problem by adding characters to break
|
||||
;; up the series of line break and spaces that is suspected to be
|
||||
;; the culprit.
|
||||
(substitute* "src/library/methods/DESCRIPTION.in"
|
||||
((" ``Software")
|
||||
" -- ``Software"))
|
||||
#t))
|
||||
(add-before 'build 'set-locales
|
||||
(lambda _
|
||||
|
|
Loading…
Reference in a new issue