gnu: r-with-tests: Remove trailing #T.

* gnu/packages/statistics.scm (r-with-tests)[arguments]: Remove trailing #T
from build phases.
This commit is contained in:
Ricardo Wurmus 2021-11-04 09:40:41 +00:00
parent 17d0bbef88
commit 108111114d
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -215,8 +215,7 @@ (define r-with-tests
;; This ensures that Guix can detect embedded store references;
;; see bug #28157 for details.
(substitute* "src/library/base/makebasedb.R"
(("compress = TRUE") "compress = FALSE"))
#t))
(("compress = TRUE") "compress = FALSE"))))
(add-before 'configure 'patch-coreutils-paths
(lambda* (#:key inputs #:allow-other-keys)
(let* ((coreutils (assoc-ref inputs "coreutils"))
@ -225,8 +224,7 @@ (define r-with-tests
(substitute* "src/scripts/R.sh.in"
(("uname") uname-bin))
(substitute* "src/unix/sys-std.c"
(("rm -Rf ") (string-append rm-bin " -Rf "))))
#t))
(("rm -Rf ") (string-append rm-bin " -Rf "))))))
(add-after 'unpack 'build-reproducibly
(lambda _
;; The documentation contains time stamps to demonstrate
@ -285,17 +283,15 @@ (define r-with-tests
;; that is suspected to be the culprit.
(substitute* "src/library/methods/DESCRIPTION.in"
(("\\(2008\\)\n") "(2008) ")
((" ``Software") "``Software"))
#t))
((" ``Software") "``Software"))))
(add-before 'build 'set-locales
(lambda _
(setlocale LC_ALL "C")
(setenv "LC_ALL" "C")
#t))
(setenv "LC_ALL" "C")))
(add-before 'configure 'set-default-pager
;; Set default pager to "cat", because otherwise it is "false",
;; making "help()" print nothing at all.
(lambda _ (setenv "PAGER" "cat") #t))
(lambda _ (setenv "PAGER" "cat")))
(add-before 'check 'set-timezone
;; Some tests require the timezone to be set. However, the
;; timezone may not just be "UTC", or else a brittle regression
@ -304,8 +300,7 @@ (define r-with-tests
(setenv "TZ" "UTC+1")
(setenv "TZDIR"
(string-append (assoc-ref inputs "tzdata")
"/share/zoneinfo"))
#t))
"/share/zoneinfo"))))
(add-after 'build 'make-info
(lambda _ (invoke "make" "info")))
(add-after 'build 'install-info