me
/
guix
Archived
1
0
Fork 0

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.
master
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
1 changed files with 3 additions and 2 deletions

View File

@ -308,8 +308,9 @@ and metadata, and the journal with querying and full text search.")
(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" prefix
,(string-append #$output "/lib/girepository-1.0"))))))))) (,(getenv "GI_TYPELIB_PATH")
,(string-append #$output "/lib/girepository-1.0")))))))))
(inputs (inputs
(list alsa-lib (list alsa-lib
bash-minimal bash-minimal