gnu: gobject-introspection: Move things to native-inputs.

* gnu/packages/glib.scm (gobject-introspection)[native-inputs]: Make
  'bison' and 'flex' inputs unconditional ...
  (gobject-introspection)[inputs]: ... and unconditionally remove them here.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
Maxime Devos 2021-10-01 16:21:14 +02:00 committed by Mathieu Othacehe
parent 9bf44750dc
commit 7b71cd6dab
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -486,18 +486,12 @@ be used when cross-compiling."
(native-inputs
`(("glib" ,glib "bin")
("pkg-config" ,pkg-config)
;; TODO(core-updates): Unconditionally place "flex" and "bison"
;; in 'native-inputs'.
,@(if (%current-target-system)
`(("bison" ,bison)
("flex" ,flex))
'())))
("bison" ,bison)
("flex" ,flex)))
(inputs
`(,@(if (%current-target-system)
`(("python" ,python))
`(("bison" ,bison)
("flex" ,flex)
("python" ,python-wrapper)))
`(("python" ,python-wrapper)))
("zlib" ,zlib)))
(propagated-inputs
`(("glib" ,glib)