3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: rmath-standalone: Set timezone variables.

These variables are needed by R's configure script.

* gnu/packages/statistics.scm (rmath-standalone)[arguments]: Add 'set-timezone
phase; remove trailing #T from 'chdir phase.
This commit is contained in:
Ricardo Wurmus 2023-05-14 13:47:11 +02:00
parent 8ec227471a
commit 1c88229d44
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -482,8 +482,14 @@ available, greatly increasing its breadth and scope.")
(arguments
'(#:phases
(modify-phases %standard-phases
(add-before 'configure 'set-timezone
;; We need TZ during the configure step.
(lambda* (#:key inputs #:allow-other-keys)
(setenv "TZ" "UTC+1")
(setenv "TZDIR"
(search-input-directory inputs "share/zoneinfo"))))
(add-after 'configure 'chdir
(lambda _ (chdir "src/nmath/standalone/") #t)))))
(lambda _ (chdir "src/nmath/standalone/"))))))
(synopsis "Standalone R math library")
(description
"This package provides the R math library as an independent package.")))