gnu: sugar-toolkit-gtk3: Include output directory in GI_TYPELIB_PATH.
* gnu/packages/sugar.scm (sugar-toolkit-gtk3)[arguments]: Include package output directory in search path for GI_TYPELIB_PATH.
This commit is contained in:
parent
5e22f8962a
commit
b8f6cffb11
1 changed files with 13 additions and 12 deletions
|
@ -293,18 +293,19 @@ and metadata, and the journal with querying and full text search.")
|
||||||
((guix build python-build-system) #:prefix python:)
|
((guix build python-build-system) #:prefix python:)
|
||||||
(guix build utils))
|
(guix build utils))
|
||||||
#:phases
|
#:phases
|
||||||
'(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-build-system
|
(add-after 'unpack 'patch-build-system
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "autogen.sh"
|
(substitute* "autogen.sh"
|
||||||
(("^\"\\$srcdir/configure" m)
|
(("^\"\\$srcdir/configure" m)
|
||||||
(string-append "#" m)))))
|
(string-append "#" m)))))
|
||||||
(add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
|
(add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(wrap-program (search-input-file outputs "bin/sugar-activity3")
|
(wrap-program (search-input-file outputs "bin/sugar-activity3")
|
||||||
`("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")
|
`("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")
|
||||||
,(python:site-packages inputs outputs)))
|
,(python:site-packages inputs outputs)))
|
||||||
`("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))))
|
`("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")
|
||||||
|
,(string-append #$output "/lib/girepository-1.0")))))))))
|
||||||
(inputs
|
(inputs
|
||||||
(list alsa-lib
|
(list alsa-lib
|
||||||
libice
|
libice
|
||||||
|
|
Reference in a new issue