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
parent
8ec227471a
commit
1c88229d44
|
@ -482,8 +482,14 @@ available, greatly increasing its breadth and scope.")
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
'(#:phases
|
||||||
(modify-phases %standard-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
|
(add-after 'configure 'chdir
|
||||||
(lambda _ (chdir "src/nmath/standalone/") #t)))))
|
(lambda _ (chdir "src/nmath/standalone/"))))))
|
||||||
(synopsis "Standalone R math library")
|
(synopsis "Standalone R math library")
|
||||||
(description
|
(description
|
||||||
"This package provides the R math library as an independent package.")))
|
"This package provides the R math library as an independent package.")))
|
||||||
|
|
Reference in New Issue