me
/
guix
Archived
1
0
Fork 0

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.
master
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
1 changed files with 7 additions and 1 deletions

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.")))