diff options
author | Zheng Junjie <873216071@qq.com> | 2023-02-28 16:33:37 +0800 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-06-04 14:58:28 +0300 |
commit | 3f45c3b12b5a4b319634a93db8a025591c3054ea (patch) | |
tree | e6f4d2240e3622bd968a737dc9ca2311c1724f00 /gnu/packages | |
parent | 188da31fe5305a960bea88e1452ceeccfb53e1de (diff) | |
download | guix-3f45c3b12b5a4b319634a93db8a025591c3054ea.tar guix-3f45c3b12b5a4b319634a93db8a025591c3054ea.tar.gz |
gnu: gobject-introspection: Fix cross-compiling.
* gnu/packages/glib.scm(gobject-introspection)[native-inputs]: When
cross-compiling add python.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/glib.scm | 5 |
1 files changed, 4 insertions, 1 deletions
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 @@ be used when cross-compiling." "/_giscanner")))) #~())))) (native-inputs - `(("glib" ,glib "bin") + `(,@(if (%current-target-system) + `(("python" ,python)) + '()) + ("glib" ,glib "bin") ("pkg-config" ,pkg-config) ("bison" ,bison) ("flex" ,flex))) |