3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: gobject-introspection: Unconditionally use flex and bison.

* gnu/packages/glib.scm (gobject-introspection): Delete trailing #t.
[native-inputs]: Unconditionally use flex and bison.
This commit is contained in:
Maxim Cournoyer 2021-12-17 16:06:16 -05:00
parent a400a64227
commit a9d27c30dc
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -467,8 +467,7 @@ be used when cross-compiling."
(lambda _
(substitute* "tools/g-ir-tool-template.in"
(("#!@PYTHON_CMD@")
(string-append "#!" (which "python3"))))
#t))
(string-append "#!" (which "python3"))))))
#$@(if (%current-target-system)
;; Meson gives python extensions an incorrect name, see
;; <https://github.com/mesonbuild/meson/issues/7049>.
@ -482,12 +481,8 @@ 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))