aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorZheng Junjie <873216071@qq.com>2023-02-28 16:33:37 +0800
committerEfraim Flashner <efraim@flashner.co.il>2023-06-04 14:58:28 +0300
commit3f45c3b12b5a4b319634a93db8a025591c3054ea (patch)
treee6f4d2240e3622bd968a737dc9ca2311c1724f00 /gnu/packages
parent188da31fe5305a960bea88e1452ceeccfb53e1de (diff)
downloadguix-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.scm5
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)))