gnu: r-with-tests: Update patch to DESCRIPTION file.

* gnu/packages/statistics.scm (r-with-tests)[arguments]: Patch line breaks and
spaces in DESCRIPTION file to ensure reproducible build.
This commit is contained in:
Ricardo Wurmus 2021-11-04 09:41:14 +00:00
parent 108111114d
commit 92b85194cd
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 3 additions and 1 deletions

View File

@ -283,7 +283,9 @@ as.POSIXct(if (\"\" != Sys.getenv(\"SOURCE_DATE_EPOCH\")) {\
;; that is suspected to be the culprit.
(substitute* "src/library/methods/DESCRIPTION.in"
(("\\(2008\\)\n") "(2008) ")
((" ``Software") "``Software"))))
((" ``Software") "``Software")
(("Data Analysis:.") "Data Analysis:\n")
(("Programming with R") " Programming with R"))))
(add-before 'build 'set-locales
(lambda _
(setlocale LC_ALL "C")