[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49025] [PATCH v5 18/20] glib: Look up "tzdata" in 'native-inputs',
From: |
Maxime Devos |
Subject: |
[bug#49025] [PATCH v5 18/20] glib: Look up "tzdata" in 'native-inputs', not 'inputs'. |
Date: |
Sun, 11 Jul 2021 13:47:21 +0200 |
Otherwise, "tzdata" won't be found when cross-compiling
and string-append will complain about types. Alternatively,
"tzdata" could be moved from 'native-inputs' to 'inputs'.
* gnu/packages/glib.scm (glib)[arguments]<#:phases>{pre-check}:
Look up "tzdata" in 'native-inputs', not 'inputs'.
---
gnu/packages/glib.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index e4ebed7e2c..01683df8c5 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -252,10 +252,11 @@ shared NFS home directories.")
(package-version python)))))
#t))
(add-before 'check 'pre-check
- (lambda* (#:key inputs outputs #:allow-other-keys)
+ (lambda* (#:key native-inputs inputs outputs #:allow-other-keys)
;; For tests/gdatetime.c.
(setenv "TZDIR"
- (string-append (assoc-ref inputs "tzdata")
+ (string-append (assoc-ref (or native-inputs inputs)
+ "tzdata")
"/share/zoneinfo"))
;; Some tests want write access there.
(setenv "HOME" (getcwd))
--
2.32.0
- [bug#49025] [PATCH v5 13/20] openssl: Move documentation instead of copying and deleting it., (continued)
- [bug#49025] [PATCH v5 13/20] openssl: Move documentation instead of copying and deleting it., Maxime Devos, 2021/07/11
- [bug#49025] [PATCH v5 14/20] openssl: Move all man pages to separate output, not only man3., Maxime Devos, 2021/07/11
- [bug#49025] [PATCH v5 19/20] libelf: Update configure script and config.guess and config.sub., Maxime Devos, 2021/07/11
- [bug#49025] [PATCH v5 20/20] meson: Support cross-compilation., Maxime Devos, 2021/07/11
- [bug#49025] [PATCH v5 09/20] python: Fix reference to input when cross-compiling., Maxime Devos, 2021/07/11
- [bug#49025] [PATCH v5 10/20] openssl: Remove trailing #t from phases., Maxime Devos, 2021/07/11
- [bug#49025] [PATCH v5 15/20] openssl: Extract logic for computing CONFIGURE_TARGET_ARCH., Maxime Devos, 2021/07/11
- [bug#49025] [PATCH v5 16/20] glib: Use a correct python in scripts when cross-compiling., Maxime Devos, 2021/07/11
- [bug#49025] [PATCH v5 18/20] glib: Look up "tzdata" in 'native-inputs', not 'inputs'.,
Maxime Devos <=
- [bug#49025] [PATCH v5 12/20] openssl: Use G-exp machinery for referring to outputs., Maxime Devos, 2021/07/11
- [bug#49025] [PATCH v5 17/20] glib: Verify the cross-compiled python is used in installed scripts., Maxime Devos, 2021/07/11