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>
This commit is contained in:
Zheng Junjie 2023-02-28 16:33:37 +08:00 committed by Efraim Flashner
parent 188da31fe5
commit 3f45c3b12b
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -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)))