gnu: sugar-toolkit-gtk3: Extend GI_TYPELIB_PATH, don't replace it.

This is convenient in case typelib files are needed by activities at runtime
that are not available at build time.

* gnu/packages/sugar.scm (sugar-toolkit-gtk3)[arguments]: Extend
GI_TYPELIB_PATH when wrapping.
This commit is contained in:
Ricardo Wurmus 2023-02-28 21:53:11 +01:00
parent 307d1b626b
commit 7dd45f86dc
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -308,8 +308,9 @@ (define-public sugar-toolkit-gtk3
(wrap-program (search-input-file outputs "bin/sugar-activity3")
`("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")
,(python:site-packages inputs outputs)))
`("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")
,(string-append #$output "/lib/girepository-1.0")))))))))
`("GI_TYPELIB_PATH" prefix
(,(getenv "GI_TYPELIB_PATH")
,(string-append #$output "/lib/girepository-1.0")))))))))
(inputs
(list alsa-lib
bash-minimal