[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/06: gnu: rmath-standalone: Set timezone variables.
From: |
guix-commits |
Subject: |
05/06: gnu: rmath-standalone: Set timezone variables. |
Date: |
Sun, 14 May 2023 07:49:09 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 1c88229d4493d217ce4dd736f36e496e026e7cf4
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun May 14 13:47:11 2023 +0200
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.
---
gnu/packages/statistics.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 2f471420c2..356981645f 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -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.")))
- branch master updated (68ccd1a0d8 -> 69d74e35b2), guix-commits, 2023/05/14
- 02/06: gnu: python-pybigwig: Update to 0.3.22., guix-commits, 2023/05/14
- 03/06: gnu: delly: Simplify., guix-commits, 2023/05/14
- 04/06: gnu: diamond: Update to 2.1.6., guix-commits, 2023/05/14
- 05/06: gnu: rmath-standalone: Set timezone variables.,
guix-commits <=
- 01/06: gnu: codingquarry: Use G-expression., guix-commits, 2023/05/14
- 06/06: gnu: discrover: Remove package labels., guix-commits, 2023/05/14