mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-01 23:36:35 +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:
parent
a400a64227
commit
a9d27c30dc
1 changed files with 3 additions and 8 deletions
|
@ -467,8 +467,7 @@ (define gobject-introspection
|
|||
(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 @@ (define gobject-introspection
|
|||
(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))
|
||||
|
|
Loading…
Reference in a new issue