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:
parent
8ec227471a
commit
1c88229d44
1 changed files with 7 additions and 1 deletions
|
@ -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.")))
|
||||
|
|
Loading…
Reference in a new issue