From 3f45c3b12b5a4b319634a93db8a025591c3054ea Mon Sep 17 00:00:00 2001 From: Zheng Junjie <873216071@qq.com> Date: Tue, 28 Feb 2023 16:33:37 +0800 Subject: gnu: gobject-introspection: Fix cross-compiling. * gnu/packages/glib.scm(gobject-introspection)[native-inputs]: When cross-compiling add python. Signed-off-by: Efraim Flashner --- gnu/packages/glib.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm index dcc45e3310..e988e8dc87 100644 --- a/gnu/packages/glib.scm +++ b/gnu/packages/glib.scm @@ -556,7 +556,10 @@ (define gobject-introspection "/_giscanner")))) #~())))) (native-inputs - `(("glib" ,glib "bin") + `(,@(if (%current-target-system) + `(("python" ,python)) + '()) + ("glib" ,glib "bin") ("pkg-config" ,pkg-config) ("bison" ,bison) ("flex" ,flex))) -- cgit v1.2.3